Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.000845/0.0008448, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001153/0.001153, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.4 MB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 12 kB / 0.5161 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 83.42 MB / 0.5975 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001849/0.1595, allocations: 1.284 MB / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1608, allocations: 0.8312 MB / 0.5996 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.1609, allocations: 7.938 kB / 0.5996 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.161, allocations: 0 / 0.5996 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.1611, allocations: 19.84 kB / 0.5996 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1615, allocations: 103.7 kB / 0.5997 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1616, allocations: 63.72 kB / 0.5998 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.1617, allocations: 8 kB / 0.5998 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.1618, allocations: 31.86 kB / 0.5998 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1619, allocations: 39.83 kB / 0.5999 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1619, allocations: 0 / 0.5999 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.1623, allocations: 271.7 kB / 0.6001 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.1624, allocations: 11.92 kB / 0.6001 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.1624, allocations: 37.7 kB / 0.6002 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1626, allocations: 104 kB / 0.6003 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1626, allocations: 0 / 0.6003 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1626, allocations: 0 / 0.6003 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1626, allocations: 0 / 0.6003 GB, free: 4.828 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005203/0.1631, allocations: 399.1 kB / 0.6007 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1632, allocations: 8.031 kB / 0.6007 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.1632, allocations: 42.55 kB / 0.6007 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.1633, allocations: 11.86 kB / 0.6007 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1635, allocations: 189.2 kB / 0.6009 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1636, allocations: 4 kB / 0.6009 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1636, allocations: 0 / 0.6009 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1637, allocations: 69.66 kB / 0.601 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1638, allocations: 0 / 0.601 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1638, allocations: 0 / 0.601 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.1638, allocations: 7.953 kB / 0.601 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1639, allocations: 43.97 kB / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1644, allocations: 308.7 kB / 0.6013 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1645, allocations: 54.56 kB / 0.6014 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.1646, allocations: 36.97 kB / 0.6014 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.1646, allocations: 0 / 0.6014 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.1646, allocations: 46.44 kB / 0.6014 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.1647, allocations: 0 / 0.6014 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003452/0.165, allocations: 121.5 kB / 0.6016 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.165, allocations: 51.41 kB / 0.6016 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1652, allocations: 130 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1652, allocations: 25.7 kB / 0.6018 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.1652, allocations: 96.12 kB / 0.6019 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1653, allocations: 15.75 kB / 0.6019 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.1653, allocations: 4 kB / 0.6019 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1654, allocations: 326.8 kB / 0.6022 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.1655, allocations: 23.98 kB / 0.6022 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.1655, allocations: 23.98 kB / 0.6022 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/0.1656, allocations: 31.98 kB / 0.6023 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1656, allocations: 0 / 0.6023 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002049/0.1658, allocations: 97.52 kB / 0.6024 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1659, allocations: 4 kB / 0.6024 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1659, allocations: 3.953 kB / 0.6024 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1659, allocations: 7.984 kB / 0.6024 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.166, allocations: 16 kB / 0.6024 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.166, allocations: 0 / 0.6024 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1661, allocations: 12.42 kB / 0.6024 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1661, allocations: 4 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.1662, allocations: 109.8 kB / 0.6025 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.1662, allocations: 11.89 kB / 0.6025 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1665, allocations: 117.9 kB / 0.6026 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1665, allocations: 3.953 kB / 0.6026 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1665, allocations: 0 / 0.6026 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1665, allocations: 0 / 0.6026 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1667, allocations: 181.5 kB / 0.6028 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1667, allocations: 4 kB / 0.6028 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.1668, allocations: 19.98 kB / 0.6028 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1668, allocations: 0 / 0.6028 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1668, allocations: 3.984 kB / 0.6028 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1668, allocations: 0 / 0.6028 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1668, allocations: 3.953 kB / 0.6028 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1671, allocations: 191.5 kB / 0.603 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.1671, allocations: 89 kB / 0.6031 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1672, allocations: 4 kB / 0.6031 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.1672, allocations: 4 kB / 0.6031 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1673, allocations: 11.94 kB / 0.6031 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1673, allocations: 0 / 0.6031 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.54e-05/0.1674, allocations: 109 kB / 0.6032 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1674, allocations: 3.938 kB / 0.6032 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002348/0.1676, allocations: 20 kB / 0.6032 GB, free: 1.465 MB / 0.4981 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005688/0.1682, allocations: 0.7514 MB / 0.604 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1684, allocations: 63.91 kB / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1684, allocations: 0 / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.1685, allocations: 36.3 kB / 0.6041 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1688, allocations: 15.98 kB / 0.6041 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2662/0.435, allocations: 0.6004 MB / 0.6047 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.4351, allocations: 0.6924 MB / 0.6054 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.155e-05/0.4353, allocations: 7.125 kB / 0.6054 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.4353, allocations: 20.53 kB / 0.6054 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.4353, allocations: 0.5 kB / 0.6054 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.4474, allocations: 2.035 MB / 0.6074 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.4476, allocations: 218.2 kB / 0.6076 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.183, allocations: 1.688 kB / 0.6076 GB, free: 39.06 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: