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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 210.9 kB / 23 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002478/0.002478, allocations: 281 kB / 313.5 MB, free: 2.793 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002927/0.002927, allocations: 97.2 kB / 0.7408 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1633, allocations: 95.39 MB / 0.834 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002013/0.1653, allocations: 0.6116 MB / 0.8346 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1676, allocations: 1.519 MB / 0.8361 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1676, allocations: 7.875 kB / 0.8361 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1676, allocations: 0 / 0.8361 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.66e-05/0.1677, allocations: 0 / 0.8361 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.1683, allocations: 143.4 kB / 0.8362 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.1684, allocations: 27.97 kB / 0.8362 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.1684, allocations: 3.984 kB / 0.8362 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.1685, allocations: 19.98 kB / 0.8363 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.1685, allocations: 27.91 kB / 0.8363 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1686, allocations: 0 / 0.8363 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.1691, allocations: 323.4 kB / 0.8366 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1691, allocations: 7.922 kB / 0.8366 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.1691, allocations: 15.92 kB / 0.8366 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.1695, allocations: 187.5 kB / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1695, allocations: 0 / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1695, allocations: 0 / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.1695, allocations: 0 / 0.8368 GB, free: 5.16 MB / 0.5762 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.000529/0.17, allocations: 293.9 kB / 0.8371 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.17, allocations: 12.75 kB / 0.8371 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.1705, allocations: 72.84 kB / 0.8372 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1706, allocations: 106.5 kB / 0.8373 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1706, allocations: 384 / 0.8373 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1706, allocations: 8.328 kB / 0.8373 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1709, allocations: 81.94 kB / 0.8374 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1709, allocations: 0 / 0.8374 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1709, allocations: 0 / 0.8374 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1709, allocations: 3.984 kB / 0.8374 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.1712, allocations: 71.86 kB / 0.8374 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.1714, allocations: 132.8 kB / 0.8376 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.1721, allocations: 118.6 kB / 0.8377 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1722, allocations: 44.92 kB / 0.8377 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.1726, allocations: 75.89 kB / 0.8378 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1727, allocations: 38.5 kB / 0.8378 GB, free: 4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1727, allocations: 0 / 0.8378 GB, free: 4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001106/0.1738, allocations: 337 kB / 0.8381 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1738, allocations: 55.34 kB / 0.8382 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.1739, allocations: 89.86 kB / 0.8383 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1739, allocations: 29.7 kB / 0.8383 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.1739, allocations: 84.14 kB / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.174, allocations: 15.88 kB / 0.8384 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.174, allocations: 21.72 kB / 0.8384 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1742, allocations: 314.8 kB / 0.8387 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1743, allocations: 40.03 kB / 0.8388 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1744, allocations: 35.97 kB / 0.8388 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.1747, allocations: 76.8 kB / 0.8389 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1747, allocations: 0 / 0.8389 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000338/0.1751, allocations: 117.5 kB / 0.839 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1751, allocations: 10.34 kB / 0.839 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1751, allocations: 7.875 kB / 0.839 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.1751, allocations: 4 kB / 0.839 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1753, allocations: 19.98 kB / 0.839 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1753, allocations: 0 / 0.839 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.913e-05/0.1754, allocations: 20.22 kB / 0.839 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1754, allocations: 8 kB / 0.839 GB, free: 2.652 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.934e-05/0.1755, allocations: 110.5 kB / 0.8392 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.1755, allocations: 3.938 kB / 0.8392 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.1759, allocations: 141.3 kB / 0.8393 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1759, allocations: 0 / 0.8393 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1759, allocations: 0 / 0.8393 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1759, allocations: 0 / 0.8393 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.1761, allocations: 140.7 kB / 0.8394 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1761, allocations: 0 / 0.8394 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1762, allocations: 23.92 kB / 0.8394 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1762, allocations: 0 / 0.8394 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.1762, allocations: 7.984 kB / 0.8395 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1762, allocations: 0 / 0.8395 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1762, allocations: 0 / 0.8395 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.1768, allocations: 181 kB / 0.8396 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.1768, allocations: 15.91 kB / 0.8396 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1768, allocations: 4 kB / 0.8396 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.177, allocations: 11.98 kB / 0.8397 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.177, allocations: 11.92 kB / 0.8397 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.177, allocations: 0 / 0.8397 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.177, allocations: 83.34 kB / 0.8398 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.177, allocations: 0 / 0.8398 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002297/0.1773, allocations: 35.86 kB / 0.8398 GB, free: 1.816 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002073/0.1775, allocations: 123.1 kB / 0.8399 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003759/0.1778, allocations: 84.02 kB / 0.84 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.1779, allocations: 0 / 0.84 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.178, allocations: 51.84 kB / 0.84 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.1782, allocations: 10.52 kB / 0.84 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.1789, allocations: 207.2 kB / 0.8402 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1792, allocations: 0.6821 MB / 0.8409 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.1793, allocations: 11.44 kB / 0.8409 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.1793, allocations: 0 / 0.8409 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of Templates: time 0.003005/0.1823, allocations: 1.136 MB / 0.842 GB, free: 15.46 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.966894089942798] Failed to read output from testmodel.py, exit status != 0: 0.18956822203472257 0.204607962 0.032170881000000005 Calling exit ...