Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.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.0009336/0.0009336, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003651/0.003651, allocations: 154.8 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.91/0.91, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08843/0.08843, allocations: 19.74 MB / 281.2 MB, free: 9.461 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 417.8 MB, free: 7.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.006e-05, allocations: 6.281 kB / 417.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1394/0.1394, allocations: 146.8 MB / 0.5514 GB, free: 15.3 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004123/0.1435, allocations: 3.462 MB / 0.5548 GB, free: 11.83 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005628/0.1441, allocations: 15.88 kB / 0.5548 GB, free: 11.82 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.1449, allocations: 270.1 kB / 0.5551 GB, free: 11.55 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.146, allocations: 0.6529 MB / 0.5557 GB, free: 10.89 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.1494, allocations: 1.648 MB / 0.5573 GB, free: 9.258 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.151, allocations: 1.375 MB / 0.5586 GB, free: 7.875 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.1516, allocations: 373.8 kB / 0.559 GB, free: 7.508 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.1526, allocations: 0.7169 MB / 0.5597 GB, free: 6.789 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008545/0.1535, allocations: 0.5026 MB / 0.5602 GB, free: 6.285 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-05/0.1536, allocations: 56 kB / 0.5602 GB, free: 6.23 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.155, allocations: 0.6701 MB / 0.5609 GB, free: 5.559 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.1553, allocations: 498.7 kB / 0.5614 GB, free: 5.07 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.1555, allocations: 355 kB / 0.5617 GB, free: 4.723 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.1572, allocations: 1.624 MB / 0.5633 GB, free: 3.094 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1572, allocations: 0 / 0.5633 GB, free: 3.094 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1572, allocations: 0 / 0.5633 GB, free: 3.094 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.394e-05/0.1572, allocations: 0 / 0.5633 GB, free: 3.094 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001759/0.159, allocations: 1.465 MB / 0.5647 GB, free: 1.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.159, allocations: 16.03 kB / 0.5647 GB, free: 1.578 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.1595, allocations: 195 kB / 0.5649 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008701/0.1604, allocations: 0.7984 MB / 0.5657 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.1604, allocations: 41.3 kB / 0.5657 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.1605, allocations: 59.95 kB / 0.5658 GB, free: 460 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1615, allocations: 1.057 MB / 0.5668 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1615, allocations: 4 kB / 0.5668 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.1616, allocations: 23.94 kB / 0.5669 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1616, allocations: 19.98 kB / 0.5669 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.1621, allocations: 477 kB / 0.5673 GB, free: 14.76 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.1647, allocations: 1.823 MB / 0.5691 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.1649, allocations: 198.4 kB / 0.5693 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.165, allocations: 72.83 kB / 0.5694 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.1652, allocations: 31.97 kB / 0.5694 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1652, allocations: 38.56 kB / 0.5694 GB, free: 12.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 2.766e-06/0.1652, allocations: 4 kB / 0.5694 GB, free: 12.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005102/0.1657, allocations: 338.8 kB / 0.5698 GB, free: 12.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1657, allocations: 55.41 kB / 0.5698 GB, free: 12.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.1671, allocations: 1.681 MB / 0.5715 GB, free: 10.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.1671, allocations: 33.7 kB / 0.5715 GB, free: 10.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.1674, allocations: 0.5785 MB / 0.5721 GB, free: 9.816 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.1674, allocations: 79.45 kB / 0.5721 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.1675, allocations: 78.03 kB / 0.5722 GB, free: 9.656 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.1676, allocations: 322 kB / 0.5725 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.1678, allocations: 138.7 kB / 0.5727 GB, free: 9.199 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.168, allocations: 230.7 kB / 0.5729 GB, free: 8.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.1683, allocations: 341.9 kB / 0.5732 GB, free: 8.547 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.1683, allocations: 11.92 kB / 0.5732 GB, free: 8.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005501/0.1688, allocations: 496.6 kB / 0.5737 GB, free: 8.043 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1689, allocations: 4 kB / 0.5737 GB, free: 8.039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1689, allocations: 4 kB / 0.5737 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1689, allocations: 8 kB / 0.5737 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.1694, allocations: 123.8 kB / 0.5738 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006838/0.1701, allocations: 1.786 MB / 0.5756 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.1703, allocations: 51.64 kB / 0.5756 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.1703, allocations: 20 kB / 0.5756 GB, free: 5.98 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003998/0.1707, allocations: 391.5 kB / 0.576 GB, free: 5.594 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1709, allocations: 111.3 kB / 0.5761 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.1712, allocations: 331.3 kB / 0.5764 GB, free: 5.148 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1712, allocations: 4.188 kB / 0.5764 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1712, allocations: 4 kB / 0.5764 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1712, allocations: 3.984 kB / 0.5764 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.1718, allocations: 0.5424 MB / 0.577 GB, free: 4.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1718, allocations: 0 / 0.577 GB, free: 4.566 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.172, allocations: 67.89 kB / 0.577 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.172, allocations: 4 kB / 0.577 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.172, allocations: 4 kB / 0.577 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006341/0.1726, allocations: 1.785 MB / 0.5788 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1726, allocations: 0 / 0.5788 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.1731, allocations: 494.7 kB / 0.5793 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.1732, allocations: 131.3 kB / 0.5794 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.1733, allocations: 4 kB / 0.5794 GB, free: 2.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.1735, allocations: 19.97 kB / 0.5794 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.1735, allocations: 15.98 kB / 0.5794 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.1735, allocations: 19.97 kB / 0.5794 GB, free: 1.953 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009449/0.1745, allocations: 1.189 MB / 0.5806 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1745, allocations: 4.156 kB / 0.5806 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006818/0.1751, allocations: 275.2 kB / 0.5809 GB, free: 496 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.1762, allocations: 0.533 MB / 0.5814 GB, free: 96 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.1767, allocations: 271.6 kB / 0.5816 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1767, allocations: 0 / 0.5816 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.1768, allocations: 104.8 kB / 0.5817 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.1774, allocations: 213.8 kB / 0.5819 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.1797, allocations: 2.033 MB / 0.5839 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.18, allocations: 0.504 MB / 0.5844 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1801, allocations: 72.48 kB / 0.5845 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.1801, allocations: 0 / 0.5845 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.2036/0.3838, allocations: 25.51 MB / 0.6094 GB, free: 176.4 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.489081679843366] Failed to read output from testmodel.py, exit status != 0: 0.3908121008425951 0.39871305999999995 0.24001370899999996 Calling exit ...