Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 186.2 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.6366 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 84.08 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2737, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.296, allocations: 363 MB / 1.343 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.297, allocations: 88.75 kB / 1.343 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03501/1.332, allocations: 13.91 MB / 1.357 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.146e-06/1.332, allocations: 0 / 1.357 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.463e-05/1.332, allocations: 8 kB / 1.357 GB, free: 13.21 MB / 0.9323 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.0009585/1.333, allocations: 484.2 kB / 1.357 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/1.333, allocations: 19.95 kB / 1.357 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/1.333, allocations: 34.56 kB / 1.357 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/1.333, allocations: 17.88 kB / 1.357 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/1.333, allocations: 171 kB / 1.357 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/1.333, allocations: 16 kB / 1.357 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/1.333, allocations: 9.969 kB / 1.357 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/1.334, allocations: 125.6 kB / 1.357 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.334, allocations: 3.938 kB / 1.357 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/1.334, allocations: 4 kB / 1.357 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.334, allocations: 0 / 1.357 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/1.334, allocations: 167.9 kB / 1.358 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/1.335, allocations: 472.5 kB / 1.358 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/1.336, allocations: 134.5 kB / 1.358 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/1.337, allocations: 0.9644 MB / 1.359 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/1.337, allocations: 34.56 kB / 1.359 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/1.337, allocations: 0 / 1.359 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0006998/1.338, allocations: 241.9 kB / 1.359 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.338, allocations: 51.41 kB / 1.359 GB, free: 9.992 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/1.338, allocations: 145.3 kB / 1.36 GB, free: 9.844 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/1.338, allocations: 33.7 kB / 1.36 GB, free: 9.805 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/1.338, allocations: 104.4 kB / 1.36 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/1.338, allocations: 47.28 kB / 1.36 GB, free: 9.652 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/1.338, allocations: 4 kB / 1.36 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.338, allocations: 326.8 kB / 1.36 GB, free: 9.32 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.339, allocations: 87.88 kB / 1.36 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/1.339, allocations: 121.9 kB / 1.36 GB, free: 9.105 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/1.339, allocations: 101.2 kB / 1.36 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.339, allocations: 0 / 1.36 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005748/1.34, allocations: 257.3 kB / 1.361 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.34, allocations: 7.953 kB / 1.361 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.34, allocations: 5.344 kB / 1.361 GB, free: 8.742 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.34, allocations: 4 kB / 1.361 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/1.34, allocations: 60 kB / 1.361 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.34, allocations: 4 kB / 1.361 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/1.34, allocations: 39.67 kB / 1.361 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/1.34, allocations: 11.98 kB / 1.361 GB, free: 8.625 MB / 0.9323 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 0.0001116/1.34, allocations: 125.8 kB / 1.361 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/1.34, allocations: 7.906 kB / 1.361 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005171/1.341, allocations: 213.4 kB / 1.361 GB, free: 8.277 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.341, allocations: 4.688 kB / 1.361 GB, free: 8.273 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.341, allocations: 4 kB / 1.361 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.341, allocations: 0 / 1.361 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/1.341, allocations: 209.5 kB / 1.361 GB, free: 8.016 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/1.341, allocations: 0 / 1.361 GB, free: 8.016 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/1.341, allocations: 32.59 kB / 1.361 GB, free: 7.984 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.341, allocations: 8 kB / 1.361 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.341, allocations: 4 kB / 1.361 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.341, allocations: 3.953 kB / 1.361 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.341, allocations: 0.5 kB / 1.361 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/1.342, allocations: 275.2 kB / 1.362 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/1.342, allocations: 89 kB / 1.362 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/1.342, allocations: 3.984 kB / 1.362 GB, free: 7.574 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.342, allocations: 24.67 kB / 1.362 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/1.342, allocations: 15.88 kB / 1.362 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/1.342, allocations: 4 kB / 1.362 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.779e-05/1.342, allocations: 118.1 kB / 1.362 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/1.342, allocations: 0 / 1.362 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003767/1.343, allocations: 68.25 kB / 1.362 GB, free: 7.352 MB / 0.9323 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.001077/1.344, allocations: 0.8873 MB / 1.363 GB, free: 6.438 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005251/1.344, allocations: 192 kB / 1.363 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.344, allocations: 0 / 1.363 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/1.345, allocations: 79.89 kB / 1.363 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/1.345, allocations: 21.19 kB / 1.363 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/1.346, allocations: 1.049 MB / 1.364 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/1.346, allocations: 0.7048 MB / 1.365 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001192/1.347, allocations: 22.81 kB / 1.365 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/1.347, allocations: 35.42 kB / 1.365 GB, free: 4.258 MB / 0.9323 GB Notification: Performance of SimCode: time 5.81e-07/1.347, allocations: 0 / 1.365 GB, free: 4.258 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/1.365, allocations: 4.227 MB / 1.369 GB, free: 220 kB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.5903/1.956, allocations: 195.6 kB / 1.369 GB, free: 278.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/4.022, allocations: 0.625 kB / 1.369 GB, free: 278.7 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)