Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 110.2 kB / 16.41 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8164/0.8164, allocations: 132.2 MB / 429.4 MB, free: 5.973 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 69.92 kB / 0.5894 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1498, allocations: 80.21 MB / 0.6677 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005916/0.1558, allocations: 4.543 MB / 0.6721 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1568, allocations: 0.8186 MB / 0.6729 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.1569, allocations: 0 / 0.6729 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.157, allocations: 27.77 kB / 0.673 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.1571, allocations: 39.64 kB / 0.673 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.1576, allocations: 167.4 kB / 0.6732 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1578, allocations: 175.4 kB / 0.6733 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.1579, allocations: 28.97 kB / 0.6734 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1581, allocations: 79.75 kB / 0.6734 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1582, allocations: 83.66 kB / 0.6735 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1582, allocations: 12 kB / 0.6735 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.1585, allocations: 151.8 kB / 0.6737 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.1586, allocations: 35.89 kB / 0.6737 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.1587, allocations: 63.67 kB / 0.6738 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.159, allocations: 239.2 kB / 0.674 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.159, allocations: 4 kB / 0.674 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.159, allocations: 0 / 0.674 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.159, allocations: 4 kB / 0.674 GB, free: 3.312 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008863/0.1599, allocations: 484.4 kB / 0.6745 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.16, allocations: 8.031 kB / 0.6745 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.16, allocations: 46.73 kB / 0.6745 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.1601, allocations: 16.84 kB / 0.6745 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.1602, allocations: 180.2 kB / 0.6747 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1603, allocations: 11.94 kB / 0.6747 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1603, allocations: 12 kB / 0.6747 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1606, allocations: 121.5 kB / 0.6748 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1606, allocations: 0 / 0.6748 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1606, allocations: 0 / 0.6748 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1607, allocations: 8 kB / 0.6749 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.1611, allocations: 150.1 kB / 0.675 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009456/0.162, allocations: 460.5 kB / 0.6754 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1623, allocations: 130.4 kB / 0.6756 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1625, allocations: 68.81 kB / 0.6756 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.1639, allocations: 0.9682 MB / 0.6766 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.164, allocations: 34.56 kB / 0.6766 GB, free: 352 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.164, allocations: 0 / 0.6766 GB, free: 352 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000672/0.1647, allocations: 211.7 kB / 0.6768 GB, free: 136 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1647, allocations: 55.34 kB / 0.6769 GB, free: 68 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1649, allocations: 163.3 kB / 0.677 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1649, allocations: 29.7 kB / 0.677 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.165, allocations: 108.4 kB / 0.6771 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.165, allocations: 43.64 kB / 0.6772 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.1651, allocations: 45.7 kB / 0.6772 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1652, allocations: 326.8 kB / 0.6775 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.1655, allocations: 75.94 kB / 0.6776 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.1657, allocations: 123.2 kB / 0.6777 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.1662, allocations: 170.8 kB / 0.6779 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1662, allocations: 0 / 0.6779 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005705/0.1668, allocations: 249.2 kB / 0.6781 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1668, allocations: 8 kB / 0.6781 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1668, allocations: 0 / 0.6781 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1668, allocations: 0 / 0.6781 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.1671, allocations: 55.91 kB / 0.6782 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1671, allocations: 0 / 0.6782 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.1673, allocations: 39.91 kB / 0.6782 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1673, allocations: 8 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001029/0.1674, allocations: 129.7 kB / 0.6784 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.1674, allocations: 11.89 kB / 0.6784 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.1679, allocations: 178.9 kB / 0.6785 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.168, allocations: 7.938 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.168, allocations: 0 / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.168, allocations: 3.938 kB / 0.6786 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1682, allocations: 213.6 kB / 0.6788 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1682, allocations: 3.938 kB / 0.6788 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1684, allocations: 35.97 kB / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1684, allocations: 0 / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1684, allocations: 0 / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1684, allocations: 0 / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1684, allocations: 4 kB / 0.6788 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.1689, allocations: 258.1 kB / 0.6791 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.169, allocations: 104.9 kB / 0.6792 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.169, allocations: 7.938 kB / 0.6792 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1692, allocations: 11.98 kB / 0.6792 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.1692, allocations: 23.91 kB / 0.6792 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-06/0.1692, allocations: 4 kB / 0.6792 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.82e-05/0.1693, allocations: 116.9 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1693, allocations: 0 / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003178/0.1697, allocations: 59.86 kB / 0.6794 GB, free: 13.35 MB / 0.5137 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 (12): * Single equations (assignments): 12 * 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.0009633/0.1706, allocations: 0.841 MB / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.1711, allocations: 171.7 kB / 0.6803 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1712, allocations: 3.938 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.1714, allocations: 67.89 kB / 0.6804 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1718, allocations: 24.17 kB / 0.6804 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.1744, allocations: 1.945 MB / 0.6823 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1748, allocations: 0.7084 MB / 0.683 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.864e-05/0.1749, allocations: 17.08 kB / 0.683 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.175, allocations: 35.42 kB / 0.6831 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of SimCode: time 1.963e-06/0.175, allocations: 0 / 0.6831 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.2007, allocations: 4.268 MB / 0.6873 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.139, allocations: 8.109 kB / 0.6873 GB, free: 5.281 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.53967754682526] Failed to read output from testmodel.py, exit status != 0: 8.20324041415006 8.217136957 8.055569092 Calling exit ...