Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.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.001572/0.001572, allocations: 102.1 kB / 19.7 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.001578/0.001578, allocations: 218.3 kB / 23.01 MB, free: 4.605 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.002402/0.002402, allocations: 281.5 kB / 313.5 MB, free: 2.805 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.176/1.176, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") [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.002783/0.002783, allocations: 98.84 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.16, allocations: 95.38 MB / 0.834 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.003892/0.1639, allocations: 1.479 MB / 0.8354 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1657, allocations: 0.8397 MB / 0.8362 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.1658, allocations: 7.938 kB / 0.8362 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.1658, allocations: 4 kB / 0.8362 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.1659, allocations: 3.938 kB / 0.8362 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.1664, allocations: 124.5 kB / 0.8364 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.61e-05/0.1665, allocations: 35.97 kB / 0.8364 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1666, allocations: 11.98 kB / 0.8364 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.1667, allocations: 8 kB / 0.8364 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.1667, allocations: 27.84 kB / 0.8364 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1667, allocations: 4 kB / 0.8364 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.1673, allocations: 319.4 kB / 0.8367 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.1673, allocations: 11.98 kB / 0.8368 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.1673, allocations: 7.938 kB / 0.8368 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.1677, allocations: 195.5 kB / 0.837 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1677, allocations: 0 / 0.837 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1677, allocations: 4 kB / 0.837 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.1677, allocations: 0 / 0.837 GB, free: 5.039 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005572/0.1683, allocations: 305.9 kB / 0.8372 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1683, allocations: 9.344 kB / 0.8373 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.1688, allocations: 64.86 kB / 0.8373 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1689, allocations: 118.5 kB / 0.8374 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1689, allocations: 4.312 kB / 0.8374 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1689, allocations: 384 / 0.8374 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.1692, allocations: 85.94 kB / 0.8375 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1692, allocations: 3.938 kB / 0.8375 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1692, allocations: 4 kB / 0.8375 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1693, allocations: 0 / 0.8375 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.1696, allocations: 87.91 kB / 0.8376 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.1702, allocations: 275.9 kB / 0.8379 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.1706, allocations: 94.5 kB / 0.838 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.1707, allocations: 44.88 kB / 0.838 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1708, allocations: 0 / 0.838 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1708, allocations: 42.5 kB / 0.838 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1708, allocations: 0 / 0.838 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000689/0.1715, allocations: 165.5 kB / 0.8382 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1715, allocations: 51.41 kB / 0.8383 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.1716, allocations: 106 kB / 0.8384 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1716, allocations: 25.7 kB / 0.8384 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.1717, allocations: 84.14 kB / 0.8385 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1717, allocations: 7.953 kB / 0.8385 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1718, allocations: 13.72 kB / 0.8385 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1719, allocations: 314.8 kB / 0.8388 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1721, allocations: 47.95 kB / 0.8388 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.1723, allocations: 47.89 kB / 0.8389 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.1727, allocations: 92.77 kB / 0.839 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1727, allocations: 4 kB / 0.839 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004155/0.1731, allocations: 125.6 kB / 0.8391 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1731, allocations: 4 kB / 0.8391 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1731, allocations: 0 / 0.8391 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1731, allocations: 0 / 0.8391 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1733, allocations: 23.97 kB / 0.8391 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1733, allocations: 0 / 0.8391 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1734, allocations: 23.95 kB / 0.8391 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1734, allocations: 11.92 kB / 0.8391 GB, free: 2.613 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 (2): * Single equations (assignments): 2 * 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.482e-05/0.1735, allocations: 114.4 kB / 0.8393 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1735, allocations: 7.953 kB / 0.8393 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.1736, allocations: 3.312 kB / 0.8393 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1736, allocations: 256 / 0.8393 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1736, allocations: 0 / 0.8393 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1736, allocations: 4 kB / 0.8393 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.1737, allocations: 148.7 kB / 0.8394 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1737, allocations: 0 / 0.8394 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.1739, allocations: 23.97 kB / 0.8394 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1739, allocations: 3.938 kB / 0.8394 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1739, allocations: 4 kB / 0.8394 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1739, allocations: 0 / 0.8394 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1739, allocations: 0 / 0.8394 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.1744, allocations: 219.4 kB / 0.8397 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.1744, allocations: 8 kB / 0.8397 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1744, allocations: 0 / 0.8397 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1746, allocations: 15.97 kB / 0.8397 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1746, allocations: 4 kB / 0.8397 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.1746, allocations: 3.938 kB / 0.8397 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.1747, allocations: 83.27 kB / 0.8398 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1747, allocations: 4.031 kB / 0.8398 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002319/0.1749, allocations: 16 kB / 0.8398 GB, free: 1.891 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001495/0.175, allocations: 107.2 kB / 0.8399 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.1755, allocations: 91.89 kB / 0.84 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1755, allocations: 0 / 0.84 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.1757, allocations: 52.02 kB / 0.84 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.176, allocations: 14.45 kB / 0.84 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.1765, allocations: 195.2 kB / 0.8402 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1768, allocations: 0.6729 MB / 0.8409 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.1768, allocations: 11.42 kB / 0.8409 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1768, allocations: 4 kB / 0.8409 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of Templates: time 0.002573/0.1794, allocations: 0.8994 MB / 0.8418 GB, free: 15.79 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9058624799363315] Failed to read output from testmodel.py, exit status != 0: 0.1868703430518508 0.20235238100000003 0.031457864 Calling exit ...