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 0.7562/0.7562, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009614/0.0009615, allocations: 179.2 kB / 187.3 MB, free: 11.9 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.463/1.463, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0009351/0.0009351, allocations: 90.56 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001901/0.001901, allocations: 276.8 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.873e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4243, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.5439, allocations: 109.3 MB / 0.871 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.5442, allocations: 79.83 kB / 0.8711 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01287/0.5571, allocations: 4.107 MB / 0.8751 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5572, allocations: 0 / 0.8751 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.5572, allocations: 3.938 kB / 0.8751 GB, free: 11.07 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.0004443/0.5576, allocations: 376.2 kB / 0.8755 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5577, allocations: 8.031 kB / 0.8755 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.5581, allocations: 67.92 kB / 0.8756 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5582, allocations: 159.1 kB / 0.8757 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.5582, allocations: 11.89 kB / 0.8757 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.5582, allocations: 7.984 kB / 0.8757 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.5584, allocations: 49.66 kB / 0.8758 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.5584, allocations: 0 / 0.8758 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.5584, allocations: 4 kB / 0.8758 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5584, allocations: 4 kB / 0.8758 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.18e-05/0.5585, allocations: 19.98 kB / 0.8758 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.5587, allocations: 161.6 kB / 0.876 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.559, allocations: 66.56 kB / 0.876 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.559, allocations: 16.86 kB / 0.876 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.5591, allocations: 12.08 kB / 0.8761 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5591, allocations: 34.56 kB / 0.8761 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5591, allocations: 0 / 0.8761 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0005443/0.5597, allocations: 274.4 kB / 0.8764 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.5597, allocations: 51.41 kB / 0.8764 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.5598, allocations: 93 kB / 0.8765 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.5598, allocations: 25.7 kB / 0.8765 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.5599, allocations: 84.27 kB / 0.8766 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.5599, allocations: 27.64 kB / 0.8766 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.5599, allocations: 0 / 0.8766 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5601, allocations: 310.8 kB / 0.8769 GB, free: 9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/0.5601, allocations: 12 kB / 0.8769 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.5601, allocations: 19.94 kB / 0.8769 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.5602, allocations: 16.19 kB / 0.877 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.5602, allocations: 0 / 0.877 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001312/0.5603, allocations: 69.62 kB / 0.877 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5604, allocations: 9.25 kB / 0.877 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5604, allocations: 0 / 0.877 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5604, allocations: 4 kB / 0.877 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.5605, allocations: 19.98 kB / 0.8771 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5606, allocations: 4 kB / 0.8771 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.5607, allocations: 19.98 kB / 0.8771 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.5607, allocations: 7.984 kB / 0.8771 GB, free: 8.816 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 () * 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.802e-05/0.5608, allocations: 104.9 kB / 0.8772 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.5608, allocations: 11.89 kB / 0.8772 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.561, allocations: 89.16 kB / 0.8773 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.561, allocations: 4 kB / 0.8773 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.561, allocations: 0 / 0.8773 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.561, allocations: 0 / 0.8773 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.5612, allocations: 173.5 kB / 0.8775 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5612, allocations: 0 / 0.8775 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.5614, allocations: 27.98 kB / 0.8775 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.5614, allocations: 7.938 kB / 0.8775 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.5614, allocations: 4 kB / 0.8775 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5614, allocations: 0 / 0.8775 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5614, allocations: 3.938 kB / 0.8775 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.5617, allocations: 109.3 kB / 0.8776 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.5617, allocations: 85.12 kB / 0.8777 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.5618, allocations: 16.17 kB / 0.8777 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.5619, allocations: 23.98 kB / 0.8777 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.5619, allocations: 0 / 0.8777 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.562, allocations: 4 kB / 0.8777 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.315e-05/0.562, allocations: 75.28 kB / 0.8778 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.562, allocations: 0 / 0.8778 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002285/0.5622, allocations: 52.02 kB / 0.8778 GB, free: 7.945 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 () * 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.0002258/0.5625, allocations: 143.1 kB / 0.878 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.5626, allocations: 39.98 kB / 0.878 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5626, allocations: 4 kB / 0.878 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.5627, allocations: 16 kB / 0.878 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.5628, allocations: 8 kB / 0.878 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.5632, allocations: 130.8 kB / 0.8782 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.5635, allocations: 0.6848 MB / 0.8788 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.5636, allocations: 23.94 kB / 0.8789 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.5637, allocations: 11.44 kB / 0.8789 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5637, allocations: 0 / 0.8789 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of Templates: time 0.003229/0.5669, allocations: 1.087 MB / 0.8799 GB, free: 5.754 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)