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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.75/0.75, allocations: 127.4 MB / 134.9 MB, free: 3.727 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 172.9 kB / 164.6 MB, free: 6.547 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.2 MB / 399.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008878/0.000888, allocations: 91.69 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.279e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1776, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.434, allocations: 321.2 MB / 0.9353 GB, free: 222.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.434, allocations: 91.94 kB / 0.9354 GB, free: 222 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02691/1.461, allocations: 13.4 MB / 0.9485 GB, free: 208.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/1.461, allocations: 0 / 0.9485 GB, free: 208.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.461, allocations: 0 / 0.9485 GB, free: 208.5 MB / 0.6355 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.0007277/1.462, allocations: 462.9 kB / 0.9489 GB, free: 208 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.462, allocations: 8.578 kB / 0.949 GB, free: 208 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/1.462, allocations: 19.77 kB / 0.949 GB, free: 208 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.462, allocations: 176.2 kB / 0.9491 GB, free: 207.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.462, allocations: 4 kB / 0.9491 GB, free: 207.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/1.462, allocations: 8 kB / 0.9492 GB, free: 207.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001815/1.462, allocations: 91.89 kB / 0.9492 GB, free: 207.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.462, allocations: 89.58 kB / 0.9493 GB, free: 207.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/1.462, allocations: 0 / 0.9493 GB, free: 207.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.462, allocations: 0 / 0.9493 GB, free: 207.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.462, allocations: 11.89 kB / 0.9493 GB, free: 207.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008409/1.463, allocations: 437.1 kB / 0.9498 GB, free: 207.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/1.463, allocations: 86.58 kB / 0.9498 GB, free: 207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/1.463, allocations: 44.84 kB / 0.9499 GB, free: 207 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.465, allocations: 0.9724 MB / 0.9508 GB, free: 205.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/1.465, allocations: 42.5 kB / 0.9509 GB, free: 205.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/1.465, allocations: 0 / 0.9509 GB, free: 205.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.000423/1.465, allocations: 137.3 kB / 0.951 GB, free: 205.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/1.465, allocations: 51.41 kB / 0.9511 GB, free: 205.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.465, allocations: 145.2 kB / 0.9512 GB, free: 205.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/1.465, allocations: 25.7 kB / 0.9512 GB, free: 205.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/1.465, allocations: 104.4 kB / 0.9513 GB, free: 205.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/1.465, allocations: 43.3 kB / 0.9514 GB, free: 205.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/1.465, allocations: 4 kB / 0.9514 GB, free: 205.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/1.465, allocations: 322.8 kB / 0.9517 GB, free: 204.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/1.466, allocations: 51.94 kB / 0.9517 GB, free: 204.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/1.466, allocations: 79.58 kB / 0.9518 GB, free: 204.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/1.466, allocations: 131.7 kB / 0.9519 GB, free: 204.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.466, allocations: 0 / 0.9519 GB, free: 204.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005911/1.467, allocations: 245.2 kB / 0.9522 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.467, allocations: 4 kB / 0.9522 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.467, allocations: 4 kB / 0.9522 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.467, allocations: 0 / 0.9522 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/1.467, allocations: 68 kB / 0.9522 GB, free: 204.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.467, allocations: 3.938 kB / 0.9522 GB, free: 204.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/1.467, allocations: 35.72 kB / 0.9523 GB, free: 204.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/1.467, allocations: 4 kB / 0.9523 GB, free: 204.3 MB / 0.6355 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 () * 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 6.402e-05/1.467, allocations: 105 kB / 0.9524 GB, free: 204.2 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002867/1.468, allocations: 141.4 kB / 0.9525 GB, free: 204.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/1.468, allocations: 11.81 kB / 0.9525 GB, free: 204 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/1.468, allocations: 142.2 kB / 0.9526 GB, free: 203.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.468, allocations: 0 / 0.9526 GB, free: 203.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.468, allocations: 0 / 0.9526 GB, free: 203.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/1.468, allocations: 0 / 0.9526 GB, free: 203.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/1.468, allocations: 198 kB / 0.9528 GB, free: 203.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.468, allocations: 7.953 kB / 0.9528 GB, free: 203.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/1.468, allocations: 39.91 kB / 0.9529 GB, free: 203.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.468, allocations: 4 kB / 0.9529 GB, free: 203.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.468, allocations: 0 / 0.9529 GB, free: 203.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.468, allocations: 0 / 0.9529 GB, free: 203.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.468, allocations: 3.938 kB / 0.9529 GB, free: 203.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/1.469, allocations: 223.4 kB / 0.9531 GB, free: 203.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/1.469, allocations: 92.88 kB / 0.9532 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/1.469, allocations: 4 kB / 0.9532 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.469, allocations: 19.97 kB / 0.9532 GB, free: 203.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/1.469, allocations: 7.984 kB / 0.9532 GB, free: 203.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/1.469, allocations: 0 / 0.9532 GB, free: 203.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.914e-05/1.469, allocations: 111.3 kB / 0.9533 GB, free: 203.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.469, allocations: 0 / 0.9533 GB, free: 203.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003166/1.469, allocations: 60.31 kB / 0.9534 GB, free: 203.1 MB / 0.6355 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 () * 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.0006445/1.47, allocations: 0.8451 MB / 0.9542 GB, free: 202.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002008/1.47, allocations: 112 kB / 0.9543 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.47, allocations: 8.188 kB / 0.9543 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.709e-05/1.47, allocations: 39.94 kB / 0.9544 GB, free: 202 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/1.471, allocations: 23.86 kB / 0.9544 GB, free: 202 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/1.471, allocations: 199 kB / 0.9546 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/1.471, allocations: 0.72 MB / 0.9553 GB, free: 201 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.69e-05/1.471, allocations: 13.2 kB / 0.9553 GB, free: 201 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/1.471, allocations: 35.44 kB / 0.9553 GB, free: 201 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.471, allocations: 0 / 0.9553 GB, free: 201 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/1.494, allocations: 3.718 MB / 0.959 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.494, allocations: 163.6 kB / 0.9591 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/3.247, allocations: 0 / 0.9591 GB, free: 197.1 MB / 0.6355 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)