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.001125/0.001125, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001383/0.001383, allocations: 177.3 kB / 15.95 MB, free: 216 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.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.003/1.003, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003247, allocations: 12 kB / 0.5159 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 83.42 MB / 0.5974 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001713/0.1663, allocations: 1.268 MB / 0.5986 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1675, allocations: 0.8273 MB / 0.5994 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.1676, allocations: 0 / 0.5994 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1676, allocations: 4 kB / 0.5994 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.1678, allocations: 27.88 kB / 0.5994 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.168, allocations: 91.75 kB / 0.5995 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1681, allocations: 51.86 kB / 0.5996 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.772e-05/0.1682, allocations: 11.92 kB / 0.5996 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.1683, allocations: 31.92 kB / 0.5996 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1684, allocations: 31.84 kB / 0.5997 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1684, allocations: 0 / 0.5997 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.1688, allocations: 267.6 kB / 0.5999 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1688, allocations: 11.94 kB / 0.5999 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.1688, allocations: 33.7 kB / 0.6 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.169, allocations: 104 kB / 0.6 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.169, allocations: 0 / 0.6 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.116e-06/0.169, allocations: 4 kB / 0.6001 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.169, allocations: 0 / 0.6001 GB, free: 4.977 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.0004884/0.1695, allocations: 399 kB / 0.6004 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.1696, allocations: 15.97 kB / 0.6004 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.1696, allocations: 38.52 kB / 0.6005 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.677e-05/0.1697, allocations: 11.91 kB / 0.6005 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1699, allocations: 186.9 kB / 0.6007 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-06/0.1699, allocations: 0 / 0.6007 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1699, allocations: 4 kB / 0.6007 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1701, allocations: 61.67 kB / 0.6007 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1701, allocations: 4 kB / 0.6007 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.1701, allocations: 3.938 kB / 0.6007 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1702, allocations: 3.953 kB / 0.6007 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1703, allocations: 51.91 kB / 0.6008 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1707, allocations: 304.8 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1709, allocations: 54.55 kB / 0.6011 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1709, allocations: 0 / 0.6011 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1709, allocations: 42.64 kB / 0.6012 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.1709, allocations: 4 kB / 0.6012 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003527/0.1713, allocations: 117.5 kB / 0.6013 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1714, allocations: 51.41 kB / 0.6013 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1715, allocations: 131.7 kB / 0.6015 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1715, allocations: 29.7 kB / 0.6015 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.1715, allocations: 96.12 kB / 0.6016 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1716, allocations: 11.75 kB / 0.6016 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.1716, allocations: 4 kB / 0.6016 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1717, allocations: 318.8 kB / 0.6019 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.1718, allocations: 27.98 kB / 0.6019 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.1719, allocations: 32.23 kB / 0.602 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.644e-05/0.1719, allocations: 23.98 kB / 0.602 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.172, allocations: 0 / 0.602 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002148/0.1722, allocations: 109.5 kB / 0.6021 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1722, allocations: 4 kB / 0.6021 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1722, allocations: 3.953 kB / 0.6021 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1722, allocations: 4 kB / 0.6021 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1724, allocations: 15.98 kB / 0.6021 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1724, allocations: 0 / 0.6021 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.1724, allocations: 7.938 kB / 0.6021 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1724, allocations: 4 kB / 0.6021 GB, free: 2.621 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.53e-05/0.1725, allocations: 117.8 kB / 0.6022 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.1726, allocations: 7.906 kB / 0.6023 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.1728, allocations: 109.9 kB / 0.6024 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1728, allocations: 3.953 kB / 0.6024 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1729, allocations: 0 / 0.6024 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1729, allocations: 11.97 kB / 0.6024 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1731, allocations: 181.5 kB / 0.6025 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1731, allocations: 4 kB / 0.6026 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.724e-05/0.1732, allocations: 15.98 kB / 0.6026 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1732, allocations: 0 / 0.6026 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1732, allocations: 0 / 0.6026 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1732, allocations: 0 / 0.6026 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1732, allocations: 3.953 kB / 0.6026 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1735, allocations: 195.7 kB / 0.6028 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.1735, allocations: 88.95 kB / 0.6028 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1735, allocations: 4.062 kB / 0.6028 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.1736, allocations: 4 kB / 0.6029 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1737, allocations: 19.94 kB / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1737, allocations: 0 / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.18e-05/0.1738, allocations: 100.9 kB / 0.603 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1738, allocations: 4 kB / 0.603 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002391/0.174, allocations: 23.98 kB / 0.603 GB, free: 1.645 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.0005881/0.1746, allocations: 0.7475 MB / 0.6037 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1748, allocations: 59.97 kB / 0.6038 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1748, allocations: 4 kB / 0.6038 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.1749, allocations: 35.97 kB / 0.6038 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1751, allocations: 8 kB / 0.6038 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.1758, allocations: 432.2 kB / 0.6042 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3434/0.5192, allocations: 0.6909 MB / 0.6049 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.917e-05/0.5194, allocations: 9.266 kB / 0.6049 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.5194, allocations: 20.86 kB / 0.6049 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.804e-06/0.5195, allocations: 0 / 0.6049 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.5322, allocations: 2.009 MB / 0.6069 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.5323, allocations: 206.7 kB / 0.6071 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.21, allocations: 3.906 kB / 0.6071 GB, free: 40.01 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: