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.001483/0.001483, allocations: 105.2 kB / 16.4 MB, free: 6.496 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.001616/0.001616, allocations: 197.2 kB / 17.34 MB, free: 5.762 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7157/0.7157, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 61.62 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1502, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006883/0.1571, allocations: 4.524 MB / 0.636 GB, free: 344 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1583, allocations: 0.8186 MB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1584, allocations: 0 / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.1587, allocations: 31.78 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.1588, allocations: 35.69 kB / 0.6369 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.1594, allocations: 167.3 kB / 0.637 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.1597, allocations: 183.3 kB / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1598, allocations: 17.11 kB / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.16, allocations: 87.73 kB / 0.6373 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1602, allocations: 71.73 kB / 0.6374 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.1602, allocations: 12 kB / 0.6374 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.1606, allocations: 151.8 kB / 0.6375 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.1607, allocations: 35.84 kB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.1608, allocations: 71.7 kB / 0.6376 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.1613, allocations: 243 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1613, allocations: 0 / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.123e-06/0.1613, allocations: 0 / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1613, allocations: 0 / 0.6379 GB, free: 14.43 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.000985/0.1623, allocations: 482.9 kB / 0.6383 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1623, allocations: 12.03 kB / 0.6383 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.1624, allocations: 38.73 kB / 0.6384 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.1625, allocations: 16.78 kB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1626, allocations: 186.4 kB / 0.6386 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1626, allocations: 12.31 kB / 0.6386 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1627, allocations: 12.38 kB / 0.6386 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.163, allocations: 117.5 kB / 0.6387 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.163, allocations: 8 kB / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1631, allocations: 3.938 kB / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1631, allocations: 0 / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.1635, allocations: 139.9 kB / 0.6389 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1645, allocations: 468.4 kB / 0.6393 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.1648, allocations: 126.4 kB / 0.6394 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.165, allocations: 72.81 kB / 0.6395 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.1663, allocations: 0.9568 MB / 0.6404 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1663, allocations: 34.56 kB / 0.6405 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1664, allocations: 0 / 0.6405 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006507/0.167, allocations: 221.3 kB / 0.6407 GB, free: 11.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1671, allocations: 51.41 kB / 0.6407 GB, free: 11.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1672, allocations: 160.8 kB / 0.6409 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1672, allocations: 33.7 kB / 0.6409 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.1673, allocations: 112.4 kB / 0.641 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.1674, allocations: 43.39 kB / 0.641 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-05/0.1675, allocations: 53.64 kB / 0.6411 GB, free: 10.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1676, allocations: 318.8 kB / 0.6414 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1678, allocations: 79.94 kB / 0.6415 GB, free: 10.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.168, allocations: 106.9 kB / 0.6416 GB, free: 10.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.1684, allocations: 177.6 kB / 0.6418 GB, free: 10.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1685, allocations: 4 kB / 0.6418 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005365/0.169, allocations: 241.2 kB / 0.642 GB, free: 9.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.169, allocations: 4 kB / 0.642 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.169, allocations: 7.922 kB / 0.642 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1691, allocations: 7.938 kB / 0.642 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.1693, allocations: 52.06 kB / 0.6421 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1694, allocations: 7.938 kB / 0.6421 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1695, allocations: 23.83 kB / 0.6421 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.1695, allocations: 11.98 kB / 0.6421 GB, free: 9.711 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 9.548e-05/0.1696, allocations: 125.8 kB / 0.6422 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1697, allocations: 15.81 kB / 0.6422 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.1701, allocations: 179.2 kB / 0.6424 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1702, allocations: 4 kB / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1702, allocations: 0 / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1702, allocations: 0 / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1704, allocations: 221.4 kB / 0.6426 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1704, allocations: 0 / 0.6426 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1706, allocations: 31.91 kB / 0.6426 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1706, allocations: 7.984 kB / 0.6427 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1706, allocations: 11.94 kB / 0.6427 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1706, allocations: 3.984 kB / 0.6427 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1706, allocations: 0 / 0.6427 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.171, allocations: 255.2 kB / 0.6429 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.1711, allocations: 100.9 kB / 0.643 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1711, allocations: 7.938 kB / 0.643 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1713, allocations: 19.98 kB / 0.643 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.1713, allocations: 7.984 kB / 0.643 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1713, allocations: 8 kB / 0.6431 GB, free: 8.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.879e-05/0.1714, allocations: 117.6 kB / 0.6432 GB, free: 8.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1714, allocations: 0 / 0.6432 GB, free: 8.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.1718, allocations: 64.31 kB / 0.6432 GB, free: 8.457 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.0008283/0.1726, allocations: 0.8449 MB / 0.644 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.1731, allocations: 167.8 kB / 0.6442 GB, free: 7.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1731, allocations: 0 / 0.6442 GB, free: 7.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1733, allocations: 72.08 kB / 0.6443 GB, free: 7.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1736, allocations: 17.86 kB / 0.6443 GB, free: 7.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.176, allocations: 1.954 MB / 0.6462 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.1763, allocations: 0.7006 MB / 0.6469 GB, free: 4.559 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.927e-05/0.1764, allocations: 28.25 kB / 0.6469 GB, free: 4.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.1764, allocations: 35.42 kB / 0.6469 GB, free: 4.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1764, allocations: 0 / 0.6469 GB, free: 4.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.1977, allocations: 4.335 MB / 0.6512 GB, free: 308 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.722, allocations: 17.22 kB / 0.6512 GB, free: 296 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)