Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_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.001566/0.001566, allocations: 97.44 kB / 16.4 MB, free: 6.5 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.001737/0.001737, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 66.22 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1449, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.0064/0.1514, allocations: 4.524 MB / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1525, allocations: 0.8224 MB / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.1527, allocations: 0 / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.1529, allocations: 23.83 kB / 0.6368 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.352e-05/0.153, allocations: 39.66 kB / 0.6369 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.1536, allocations: 171.4 kB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1539, allocations: 179.3 kB / 0.6372 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.154, allocations: 17.12 kB / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1542, allocations: 79.73 kB / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1543, allocations: 71.75 kB / 0.6374 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.1544, allocations: 16 kB / 0.6374 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.1547, allocations: 159.7 kB / 0.6375 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.1548, allocations: 31.86 kB / 0.6376 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.1549, allocations: 67.7 kB / 0.6376 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1553, allocations: 235 kB / 0.6379 GB, free: 14.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1553, allocations: 8 kB / 0.6379 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1553, allocations: 0 / 0.6379 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1553, allocations: 0 / 0.6379 GB, free: 14.45 MB / 494.1 MB 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.0008882/0.1562, allocations: 478.9 kB / 0.6383 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1562, allocations: 12.03 kB / 0.6383 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.1563, allocations: 42.73 kB / 0.6384 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1563, allocations: 16.78 kB / 0.6384 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1565, allocations: 180.7 kB / 0.6386 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1565, allocations: 8.375 kB / 0.6386 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1565, allocations: 12.38 kB / 0.6386 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.1569, allocations: 123.3 kB / 0.6387 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1569, allocations: 0 / 0.6387 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1569, allocations: 4 kB / 0.6387 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1569, allocations: 8 kB / 0.6387 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.1573, allocations: 147.8 kB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.1583, allocations: 464.4 kB / 0.6393 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1586, allocations: 126.5 kB / 0.6394 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.1588, allocations: 76.81 kB / 0.6395 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.1601, allocations: 0.9568 MB / 0.6404 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1602, allocations: 34.5 kB / 0.6405 GB, free: 11.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.1602, allocations: 0 / 0.6405 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006767/0.1609, allocations: 217.3 kB / 0.6407 GB, free: 11.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1609, allocations: 55.41 kB / 0.6407 GB, free: 11.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1611, allocations: 164.8 kB / 0.6409 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1611, allocations: 29.7 kB / 0.6409 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.1611, allocations: 104.4 kB / 0.641 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1612, allocations: 47.38 kB / 0.641 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.1613, allocations: 53.64 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.1614, allocations: 322.8 kB / 0.6414 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1616, allocations: 75.94 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.1619, allocations: 119.2 kB / 0.6416 GB, free: 10.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.1623, allocations: 168.8 kB / 0.6418 GB, free: 10.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1623, allocations: 3.938 kB / 0.6418 GB, free: 10.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005743/0.1629, allocations: 248.2 kB / 0.642 GB, free: 9.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1629, allocations: 8 kB / 0.642 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1629, allocations: 3.938 kB / 0.642 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.163, allocations: 4 kB / 0.642 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.1632, allocations: 55.91 kB / 0.6421 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1632, allocations: 3.938 kB / 0.6421 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1634, allocations: 35.91 kB / 0.6421 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.1634, allocations: 8 kB / 0.6421 GB, free: 9.719 MB / 494.1 MB 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.0001016/0.1636, allocations: 121.8 kB / 0.6422 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1636, allocations: 11.81 kB / 0.6422 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.1641, allocations: 178.9 kB / 0.6424 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1641, allocations: 0 / 0.6424 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1641, allocations: 4 kB / 0.6424 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1641, allocations: 0 / 0.6424 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.1643, allocations: 217.5 kB / 0.6426 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1644, allocations: 4 kB / 0.6426 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1645, allocations: 31.91 kB / 0.6427 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1645, allocations: 0 / 0.6427 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1645, allocations: 7.875 kB / 0.6427 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1646, allocations: 4 kB / 0.6427 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1646, allocations: 4 kB / 0.6427 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.165, allocations: 251.3 kB / 0.6429 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.1651, allocations: 100.9 kB / 0.643 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1651, allocations: 7.938 kB / 0.643 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1653, allocations: 11.98 kB / 0.643 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.1653, allocations: 11.98 kB / 0.643 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1653, allocations: 4 kB / 0.643 GB, free: 8.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.1654, allocations: 121.6 kB / 0.6432 GB, free: 8.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1654, allocations: 0 / 0.6432 GB, free: 8.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1658, allocations: 64.3 kB / 0.6432 GB, free: 8.488 MB / 494.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 (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.0008849/0.1667, allocations: 0.8471 MB / 0.644 GB, free: 7.613 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1672, allocations: 168.5 kB / 0.6442 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1672, allocations: 0 / 0.6442 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.1674, allocations: 68.08 kB / 0.6443 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1677, allocations: 27.97 kB / 0.6443 GB, free: 7.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.1704, allocations: 1.95 MB / 0.6462 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1707, allocations: 0.7084 MB / 0.6469 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.957e-05/0.1708, allocations: 25 kB / 0.6469 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.1709, allocations: 35.42 kB / 0.6469 GB, free: 4.516 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1709, allocations: 0 / 0.6469 GB, free: 4.516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.1919, allocations: 4.335 MB / 0.6512 GB, free: 328 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.873, allocations: 7.875 kB / 0.6512 GB, free: 320 kB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)