Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005535/0.005535, allocations: 103.2 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001228, allocations: 198.2 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7816/0.7816, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 71.31 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 80.93 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006501/0.1487, allocations: 4.546 MB / 0.6686 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1498, allocations: 0.8224 MB / 0.6694 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.1499, allocations: 0 / 0.6694 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1501, allocations: 35.77 kB / 0.6694 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/0.1503, allocations: 35.7 kB / 0.6695 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1508, allocations: 167.4 kB / 0.6696 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.151, allocations: 183.3 kB / 0.6698 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.1511, allocations: 17.12 kB / 0.6698 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.1513, allocations: 79.75 kB / 0.6699 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1514, allocations: 79.67 kB / 0.67 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1515, allocations: 12 kB / 0.67 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.1518, allocations: 155.8 kB / 0.6701 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.1518, allocations: 31.91 kB / 0.6702 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.1519, allocations: 67.7 kB / 0.6702 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.1523, allocations: 243 kB / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1523, allocations: 0 / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1523, allocations: 0 / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.1523, allocations: 0 / 0.6705 GB, free: 15.79 MB / 0.5137 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.0008516/0.1531, allocations: 478.9 kB / 0.6709 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1532, allocations: 17.11 kB / 0.6709 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.1532, allocations: 34.75 kB / 0.671 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1533, allocations: 16.75 kB / 0.671 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.1535, allocations: 183.5 kB / 0.6712 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1535, allocations: 11.94 kB / 0.6712 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1535, allocations: 12 kB / 0.6712 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.1538, allocations: 117.5 kB / 0.6713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1539, allocations: 3.984 kB / 0.6713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1539, allocations: 12 kB / 0.6713 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1539, allocations: 0 / 0.6713 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.1543, allocations: 135.9 kB / 0.6714 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.1552, allocations: 468.5 kB / 0.6719 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.1555, allocations: 118.5 kB / 0.672 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1557, allocations: 80.8 kB / 0.6721 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.1571, allocations: 0.9647 MB / 0.673 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1572, allocations: 30.56 kB / 0.673 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.1572, allocations: 0 / 0.673 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.000658/0.1578, allocations: 221.2 kB / 0.6733 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1579, allocations: 51.41 kB / 0.6733 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1581, allocations: 164.2 kB / 0.6735 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1581, allocations: 33.7 kB / 0.6735 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.1582, allocations: 108.4 kB / 0.6736 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1582, allocations: 43.3 kB / 0.6736 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.1583, allocations: 53.7 kB / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1584, allocations: 322.8 kB / 0.674 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1587, allocations: 75.94 kB / 0.6741 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.1589, allocations: 103.4 kB / 0.6742 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.1593, allocations: 179.2 kB / 0.6743 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1593, allocations: 0 / 0.6743 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005249/0.1598, allocations: 244.3 kB / 0.6746 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1599, allocations: 4 kB / 0.6746 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1599, allocations: 0 / 0.6746 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1599, allocations: 8 kB / 0.6746 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.1602, allocations: 59.89 kB / 0.6746 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1602, allocations: 4 kB / 0.6746 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1603, allocations: 31.83 kB / 0.6747 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1604, allocations: 8 kB / 0.6747 GB, free: 11.08 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.00011/0.1605, allocations: 125.8 kB / 0.6748 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.1605, allocations: 19.75 kB / 0.6748 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.161, allocations: 178.9 kB / 0.675 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.161, allocations: 4 kB / 0.675 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.161, allocations: 0 / 0.675 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.161, allocations: 0 / 0.675 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.1612, allocations: 221.5 kB / 0.6752 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1612, allocations: 3.938 kB / 0.6752 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1614, allocations: 27.97 kB / 0.6752 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1614, allocations: 4 kB / 0.6752 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1614, allocations: 0 / 0.6752 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1614, allocations: 0 / 0.6752 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1614, allocations: 4 kB / 0.6752 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.1618, allocations: 255.8 kB / 0.6755 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.1619, allocations: 104.9 kB / 0.6756 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.162, allocations: 3.984 kB / 0.6756 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1621, allocations: 19.98 kB / 0.6756 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.1622, allocations: 7.984 kB / 0.6756 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1622, allocations: 0 / 0.6756 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.543e-05/0.1623, allocations: 120 kB / 0.6757 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1623, allocations: 0 / 0.6757 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003542/0.1626, allocations: 64.06 kB / 0.6758 GB, free: 9.848 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.0009722/0.1636, allocations: 0.8569 MB / 0.6766 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.1641, allocations: 163.8 kB / 0.6768 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1641, allocations: 0 / 0.6768 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1643, allocations: 72.08 kB / 0.6769 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1647, allocations: 22.02 kB / 0.6769 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.1673, allocations: 1.943 MB / 0.6788 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1676, allocations: 0.7122 MB / 0.6795 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.1677, allocations: 21.06 kB / 0.6795 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.1677, allocations: 35.42 kB / 0.6795 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1677, allocations: 0 / 0.6795 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.1896, allocations: 4.268 MB / 0.6837 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.84, allocations: 6.688 kB / 0.6837 GB, free: 1.734 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)