Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008275/0.0008274, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001026/0.001026, allocations: 172.7 kB / 15.95 MB, free: 208 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.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9872/0.9872, allocations: 143.4 MB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004074, allocations: 12 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 83.43 MB / 0.5976 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004492/0.1639, allocations: 4.047 MB / 0.6015 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009149/0.1649, allocations: 0.7646 MB / 0.6023 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.1649, allocations: 0 / 0.6023 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1651, allocations: 23.83 kB / 0.6023 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.1651, allocations: 27.77 kB / 0.6023 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.1655, allocations: 135.5 kB / 0.6024 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1657, allocations: 155.4 kB / 0.6026 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.1658, allocations: 13.11 kB / 0.6026 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.166, allocations: 75.75 kB / 0.6027 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1661, allocations: 75.72 kB / 0.6027 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1661, allocations: 4 kB / 0.6027 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.1664, allocations: 115.8 kB / 0.6029 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.1664, allocations: 27.89 kB / 0.6029 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.1665, allocations: 49.64 kB / 0.6029 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1667, allocations: 159.9 kB / 0.6031 GB, free: 2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1667, allocations: 0 / 0.6031 GB, free: 2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1667, allocations: 0 / 0.6031 GB, free: 2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.1667, allocations: 4 kB / 0.6031 GB, free: 1.996 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.0007465/0.1675, allocations: 474.8 kB / 0.6035 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1675, allocations: 8.031 kB / 0.6035 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.1676, allocations: 42.55 kB / 0.6036 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1676, allocations: 15.81 kB / 0.6036 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1677, allocations: 178.8 kB / 0.6038 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1678, allocations: 8 kB / 0.6038 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1678, allocations: 8 kB / 0.6038 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.1681, allocations: 133.6 kB / 0.6039 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1681, allocations: 3.953 kB / 0.6039 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1681, allocations: 7.984 kB / 0.6039 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1681, allocations: 0 / 0.6039 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.1685, allocations: 167.8 kB / 0.6041 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.1694, allocations: 468.4 kB / 0.6045 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1697, allocations: 138.5 kB / 0.6047 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1699, allocations: 80.75 kB / 0.6047 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.31/0.48, allocations: 0.954 MB / 0.6057 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.48, allocations: 36.34 kB / 0.6057 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.48, allocations: 1.156 kB / 0.6057 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006676/0.4807, allocations: 241.5 kB / 0.6059 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.4808, allocations: 55.53 kB / 0.606 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4809, allocations: 169.9 kB / 0.6062 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4809, allocations: 28.08 kB / 0.6062 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.481, allocations: 113.9 kB / 0.6063 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.481, allocations: 34.69 kB / 0.6063 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.481, allocations: 6.625 kB / 0.6063 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.4811, allocations: 322.4 kB / 0.6066 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.4812, allocations: 90.33 kB / 0.6067 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.4815, allocations: 122.2 kB / 0.6068 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.4817, allocations: 93.7 kB / 0.6069 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4817, allocations: 3.75 kB / 0.6069 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004725/0.4822, allocations: 265.4 kB / 0.6072 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4822, allocations: 5.906 kB / 0.6072 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4822, allocations: 0 / 0.6072 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4822, allocations: 5.547 kB / 0.6072 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4825, allocations: 59.94 kB / 0.6073 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.4825, allocations: 0 / 0.6073 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.4826, allocations: 39.69 kB / 0.6073 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.4826, allocations: 10.28 kB / 0.6073 GB, free: 39.98 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.4827, allocations: 127.4 kB / 0.6074 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.4828, allocations: 13.59 kB / 0.6074 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.4832, allocations: 201 kB / 0.6076 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4832, allocations: 0 / 0.6076 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4832, allocations: 2.625 kB / 0.6076 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4832, allocations: 0 / 0.6076 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.4834, allocations: 220.2 kB / 0.6078 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4834, allocations: 3.875 kB / 0.6078 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.4835, allocations: 35.05 kB / 0.6079 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4835, allocations: 2.469 kB / 0.6079 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4836, allocations: 4.188 kB / 0.6079 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4836, allocations: 7.516 kB / 0.6079 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4836, allocations: 0 / 0.6079 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.4839, allocations: 276.7 kB / 0.6082 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.484, allocations: 99.91 kB / 0.6082 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.484, allocations: 2.125 kB / 0.6082 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.4841, allocations: 25.53 kB / 0.6083 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.4842, allocations: 13.11 kB / 0.6083 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4842, allocations: 0 / 0.6083 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.4843, allocations: 122 kB / 0.6084 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4843, allocations: 0 / 0.6084 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003176/0.4846, allocations: 58.12 kB / 0.6085 GB, free: 39.31 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 (12): * Single equations (assignments): 12 * 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.0006738/0.4853, allocations: 0.8704 MB / 0.6093 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.4857, allocations: 193.9 kB / 0.6095 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4857, allocations: 4 kB / 0.6095 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.4859, allocations: 80.05 kB / 0.6096 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.4863, allocations: 24.09 kB / 0.6096 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4877, allocations: 1.011 MB / 0.6106 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.4879, allocations: 0.7056 MB / 0.6113 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.488, allocations: 20.14 kB / 0.6113 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.4881, allocations: 31.97 kB / 0.6113 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.4881, allocations: 0 / 0.6113 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.5014, allocations: 4.094 MB / 0.6153 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.5016, allocations: 219.5 kB / 0.6155 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.209, allocations: 3.938 kB / 0.6155 GB, free: 36.91 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: