Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 120.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002093/0.002093, allocations: 205 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2466/0.2466, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 79.86 kB / 0.4916 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1385, allocations: 66.04 MB / 0.5561 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001695/0.1402, allocations: 486.1 kB / 0.5566 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.1437, allocations: 2.138 MB / 0.5587 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.1437, allocations: 4 kB / 0.5587 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.1437, allocations: 0 / 0.5587 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.02e-05/0.1438, allocations: 3.938 kB / 0.5587 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.145, allocations: 406.7 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.1451, allocations: 4 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.1451, allocations: 3.984 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.1451, allocations: 7.938 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02074/0.1659, allocations: 3.377 MB / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1659, allocations: 0 / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.166, allocations: 4 kB / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.166, allocations: 0 / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.166, allocations: 0 / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1662, allocations: 15.97 kB / 0.5624 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1662, allocations: 4 kB / 0.5624 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1662, allocations: 4 kB / 0.5624 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1662, allocations: 3.938 kB / 0.5624 GB, free: 15.73 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003289/0.1665, allocations: 311.5 kB / 0.5627 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1666, allocations: 8.031 kB / 0.5627 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.16e-05/0.1666, allocations: 110 kB / 0.5628 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.1668, allocations: 96.2 kB / 0.5629 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.167, allocations: 235.7 kB / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.1671, allocations: 154.9 kB / 0.5633 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.1671, allocations: 150.9 kB / 0.5634 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.1672, allocations: 113.1 kB / 0.5636 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.1673, allocations: 75.28 kB / 0.5636 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.547e-05/0.1673, allocations: 150.6 kB / 0.5638 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.087e-05/0.1674, allocations: 154.6 kB / 0.5639 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.273e-05/0.1675, allocations: 154.5 kB / 0.5641 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.1678, allocations: 442 kB / 0.5645 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1679, allocations: 169.1 kB / 0.5646 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.1679, allocations: 80.14 kB / 0.5647 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.168, allocations: 79.28 kB / 0.5648 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/0.1681, allocations: 117.7 kB / 0.5649 GB, free: 13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 3.055e-06/0.1681, allocations: 3.984 kB / 0.5649 GB, free: 13 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.524e-05/0.1682, allocations: 33.69 kB / 0.5649 GB, free: 12.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.1683, allocations: 178.1 kB / 0.5651 GB, free: 12.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1684, allocations: 93.86 kB / 0.5652 GB, free: 12.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1684, allocations: 25.7 kB / 0.5652 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.1684, allocations: 84.14 kB / 0.5653 GB, free: 12.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.1684, allocations: 0 / 0.5653 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1685, allocations: 13.72 kB / 0.5653 GB, free: 12.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1686, allocations: 310.8 kB / 0.5656 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-06/0.1686, allocations: 0 / 0.5656 GB, free: 12.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.1686, allocations: 13.72 kB / 0.5656 GB, free: 12.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.1687, allocations: 87.36 kB / 0.5657 GB, free: 12.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.2e-05/0.1687, allocations: 75.28 kB / 0.5658 GB, free: 12.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.074e-05/0.1688, allocations: 37.58 kB / 0.5658 GB, free: 11.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.1688, allocations: 79.28 kB / 0.5659 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-05/0.1689, allocations: 75.28 kB / 0.566 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.431e-05/0.1689, allocations: 158.5 kB / 0.5661 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.149e-05/0.169, allocations: 79.22 kB / 0.5662 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.52e-05/0.1691, allocations: 162.5 kB / 0.5664 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.1691, allocations: 83.27 kB / 0.5664 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.1692, allocations: 75.28 kB / 0.5665 GB, free: 11.29 MB / 430.1 MB 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 (0): * Single equations (assignments): 0 * 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 0.0001454/0.1693, allocations: 256.4 kB / 0.5668 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.1694, allocations: 116.9 kB / 0.5669 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.1695, allocations: 115.9 kB / 0.567 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.371e-05/0.1695, allocations: 180.2 kB / 0.5671 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.8e-05/0.1696, allocations: 184.2 kB / 0.5673 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.249e-05/0.1697, allocations: 176.3 kB / 0.5675 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.17, allocations: 401.2 kB / 0.5679 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.496e-05/0.17, allocations: 105 kB / 0.568 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.1701, allocations: 116.9 kB / 0.5681 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-05/0.1702, allocations: 176.3 kB / 0.5683 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/0.1703, allocations: 176.6 kB / 0.5684 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.993e-05/0.1704, allocations: 180.2 kB / 0.5686 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.101e-05/0.1704, allocations: 188.3 kB / 0.5688 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1706, allocations: 311.8 kB / 0.5691 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1707, allocations: 182 kB / 0.5692 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.1708, allocations: 184.2 kB / 0.5694 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1709, allocations: 113 kB / 0.5695 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/0.171, allocations: 184.2 kB / 0.5697 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.1711, allocations: 101 kB / 0.5698 GB, free: 7.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.791e-05/0.1711, allocations: 75.28 kB / 0.5699 GB, free: 7.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1711, allocations: 4 kB / 0.5699 GB, free: 7.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1714, allocations: 0 / 0.5699 GB, free: 7.613 MB / 430.1 MB 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 (0): * Single equations (assignments): 0 * 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.0005247/0.1719, allocations: 0.8087 MB / 0.5707 GB, free: 6.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.654e-05/0.172, allocations: 0 / 0.5707 GB, free: 6.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.172, allocations: 0 / 0.5707 GB, free: 6.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.172, allocations: 4 kB / 0.5707 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1724, allocations: 455.7 kB / 0.5711 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.1728, allocations: 186 kB / 0.5713 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.1731, allocations: 0.6767 MB / 0.5719 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.235e-05/0.1731, allocations: 0 / 0.5719 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.1732, allocations: 7.438 kB / 0.5719 GB, free: 5.387 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1732, allocations: 7.938 kB / 0.572 GB, free: 5.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1966, allocations: 1.018 MB / 0.5729 GB, free: 4.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.322, allocations: 3.859 kB / 0.573 GB, free: 4.441 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.502821230329573] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.391960145905614 8.413209179 8.243067212 Calling exit ...