Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 177.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009051/0.0009054, allocations: 84.33 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 272 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004485, allocations: 21.47 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 82.79 MB / 0.7737 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.3206, allocations: 109.4 MB / 0.8806 GB, free: 276 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3209, allocations: 89.91 kB / 0.8806 GB, free: 188 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.306/0.6269, allocations: 4.115 MB / 0.8847 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.773e-06/0.627, allocations: 3.938 kB / 0.8847 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.627, allocations: 2.656 kB / 0.8847 GB, free: 109.2 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003685/0.6274, allocations: 364.3 kB / 0.885 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.6274, allocations: 8.312 kB / 0.885 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.6278, allocations: 65.23 kB / 0.8851 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.6279, allocations: 172.6 kB / 0.8852 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.6279, allocations: 3.953 kB / 0.8853 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.628, allocations: 10.19 kB / 0.8853 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.6282, allocations: 77.28 kB / 0.8853 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.6283, allocations: 7.938 kB / 0.8853 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.6283, allocations: 0.6562 kB / 0.8853 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.6283, allocations: 6.438 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.6286, allocations: 74.58 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.6288, allocations: 166.4 kB / 0.8856 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.6294, allocations: 148.5 kB / 0.8857 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.6294, allocations: 3.641 kB / 0.8857 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.6294, allocations: 34.56 kB / 0.8858 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.6295, allocations: 2.562 kB / 0.8858 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.001146/0.6306, allocations: 436.7 kB / 0.8862 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6307, allocations: 51.41 kB / 0.8862 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.942e-05/0.6307, allocations: 89.47 kB / 0.8863 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.6307, allocations: 29.08 kB / 0.8863 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.152e-05/0.6308, allocations: 80.75 kB / 0.8864 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.6308, allocations: 19.69 kB / 0.8864 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-06/0.6308, allocations: 128 / 0.8864 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.6309, allocations: 323 kB / 0.8867 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.631, allocations: 39.92 kB / 0.8868 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.6312, allocations: 43.33 kB / 0.8868 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.6313, allocations: 43.47 kB / 0.8869 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6314, allocations: 0 / 0.8869 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003355/0.6317, allocations: 126.2 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6317, allocations: 6.578 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6317, allocations: 3.984 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6318, allocations: 3.031 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.6319, allocations: 28.98 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6319, allocations: 0.6094 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.632, allocations: 19.05 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.632, allocations: 1.641 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/0.6321, allocations: 115.6 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.6321, allocations: 16.06 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.6326, allocations: 143.8 kB / 0.8873 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6326, allocations: 3.172 kB / 0.8873 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6327, allocations: 0 / 0.8873 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6327, allocations: 0.5625 kB / 0.8873 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.6328, allocations: 172 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.6328, allocations: 2.688 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.6329, allocations: 28.58 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.633, allocations: 3.938 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.633, allocations: 11.39 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.633, allocations: 0.5156 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.633, allocations: 0.875 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.6335, allocations: 201.1 kB / 0.8877 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.6336, allocations: 87.56 kB / 0.8878 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.6336, allocations: 1.797 kB / 0.8878 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6337, allocations: 24.14 kB / 0.8878 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.6338, allocations: 4.047 kB / 0.8878 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.6338, allocations: 7.359 kB / 0.8878 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.397e-05/0.6338, allocations: 81.64 kB / 0.8879 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6338, allocations: 0 / 0.8879 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000254/0.6341, allocations: 43.52 kB / 0.888 GB, free: 106.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002422/0.6343, allocations: 140.1 kB / 0.8881 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.6347, allocations: 94.17 kB / 0.8882 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6347, allocations: 5.406 kB / 0.8882 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.6349, allocations: 46.72 kB / 0.8882 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.635, allocations: 6.891 kB / 0.8882 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.6356, allocations: 211.9 kB / 0.8884 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.6358, allocations: 0.6828 MB / 0.8891 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.6359, allocations: 14.27 kB / 0.8891 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.6359, allocations: 13.98 kB / 0.8891 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.636, allocations: 0 / 0.8891 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.003514/0.6395, allocations: 1.086 MB / 0.8902 GB, free: 105.6 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)