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) 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/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006953/0.006953, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001773/0.001773, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7802/0.7802, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.14 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 80.2 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007033/0.1464, allocations: 4.543 MB / 0.6636 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1476, allocations: 0.8224 MB / 0.6644 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1477, allocations: 4 kB / 0.6644 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.148, allocations: 31.77 kB / 0.6645 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.1481, allocations: 35.7 kB / 0.6645 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.1487, allocations: 171.4 kB / 0.6647 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.149, allocations: 179.3 kB / 0.6648 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.1491, allocations: 13.12 kB / 0.6648 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1493, allocations: 83.75 kB / 0.6649 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1494, allocations: 75.67 kB / 0.665 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1495, allocations: 12 kB / 0.665 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.1498, allocations: 155.8 kB / 0.6652 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.1499, allocations: 35.91 kB / 0.6652 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.15, allocations: 67.7 kB / 0.6653 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.1504, allocations: 239 kB / 0.6655 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1504, allocations: 4 kB / 0.6655 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1504, allocations: 0 / 0.6655 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.1504, allocations: 0 / 0.6655 GB, free: 4.25 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.0009129/0.1513, allocations: 482.8 kB / 0.666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1514, allocations: 12.03 kB / 0.666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.1514, allocations: 38.75 kB / 0.666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.1515, allocations: 16.84 kB / 0.666 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1516, allocations: 184.2 kB / 0.6662 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1516, allocations: 11.94 kB / 0.6662 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1517, allocations: 8 kB / 0.6662 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.152, allocations: 121.5 kB / 0.6663 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.152, allocations: 0 / 0.6663 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.152, allocations: 15.97 kB / 0.6663 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.152, allocations: 0 / 0.6663 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.1524, allocations: 135.9 kB / 0.6665 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009482/0.1534, allocations: 464.5 kB / 0.6669 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1537, allocations: 118.5 kB / 0.667 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.1539, allocations: 84.73 kB / 0.6671 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.1552, allocations: 0.9647 MB / 0.668 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1553, allocations: 34.56 kB / 0.6681 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 3.186e-06/0.1553, allocations: 7.938 kB / 0.6681 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006158/0.1559, allocations: 205.4 kB / 0.6683 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1559, allocations: 55.39 kB / 0.6683 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1561, allocations: 163.2 kB / 0.6685 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1561, allocations: 33.7 kB / 0.6685 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1562, allocations: 112.4 kB / 0.6686 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.1562, allocations: 43.39 kB / 0.6687 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.1563, allocations: 49.7 kB / 0.6687 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1564, allocations: 318.8 kB / 0.669 GB, free: 272 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.1566, allocations: 75.94 kB / 0.6691 GB, free: 196 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.1569, allocations: 112.2 kB / 0.6692 GB, free: 72 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.1573, allocations: 183.7 kB / 0.6694 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1573, allocations: 0 / 0.6694 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005185/0.1578, allocations: 245.1 kB / 0.6696 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1578, allocations: 4 kB / 0.6696 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1578, allocations: 0 / 0.6696 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1578, allocations: 4 kB / 0.6696 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1581, allocations: 59.98 kB / 0.6697 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1581, allocations: 4 kB / 0.6697 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.1583, allocations: 23.83 kB / 0.6697 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.1583, allocations: 8 kB / 0.6697 GB, free: 15.54 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 9.85e-05/0.1584, allocations: 125.8 kB / 0.6698 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.1584, allocations: 19.75 kB / 0.6699 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.1589, allocations: 182.1 kB / 0.67 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1589, allocations: 4 kB / 0.67 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1589, allocations: 0 / 0.67 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1589, allocations: 0 / 0.67 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1592, allocations: 221.5 kB / 0.6702 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1592, allocations: 3.938 kB / 0.6702 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1593, allocations: 27.97 kB / 0.6703 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1593, allocations: 8 kB / 0.6703 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1593, allocations: 4 kB / 0.6703 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1594, allocations: 4 kB / 0.6703 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1594, allocations: 0 / 0.6703 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.1598, allocations: 255.2 kB / 0.6705 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.1599, allocations: 108.8 kB / 0.6706 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1599, allocations: 3.984 kB / 0.6706 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.16, allocations: 15.98 kB / 0.6707 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1601, allocations: 7.984 kB / 0.6707 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.1601, allocations: 0 / 0.6707 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.1602, allocations: 120.9 kB / 0.6708 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1602, allocations: 3.938 kB / 0.6708 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003249/0.1605, allocations: 64.06 kB / 0.6708 GB, free: 14.29 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.0008248/0.1613, allocations: 0.8372 MB / 0.6717 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.1618, allocations: 171.8 kB / 0.6718 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1618, allocations: 192 / 0.6718 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.162, allocations: 71.89 kB / 0.6719 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1623, allocations: 24.59 kB / 0.6719 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.1648, allocations: 1.951 MB / 0.6738 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.165, allocations: 0.7045 MB / 0.6745 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.492e-05/0.1651, allocations: 21.02 kB / 0.6745 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.1652, allocations: 35.42 kB / 0.6746 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1652, allocations: 0 / 0.6746 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.1875, allocations: 4.259 MB / 0.6787 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.67, allocations: 20.81 kB / 0.6787 GB, free: 6.219 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)