Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8418/0.8418, allocations: 141.8 MB / 149.3 MB, free: 9.246 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 179.8 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009067/0.0009065, allocations: 80.12 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 277 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.397e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4911, allocations: 82.77 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7392/1.23, allocations: 332 MB / 1.082 GB, free: 408 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.231, allocations: 90 kB / 1.082 GB, free: 356 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03201/1.263, allocations: 14.1 MB / 1.096 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.162e-06/1.263, allocations: 0 / 1.096 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.263, allocations: 0 / 1.096 GB, free: 5.156 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.0007081/1.263, allocations: 467.6 kB / 1.096 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.264, allocations: 8.031 kB / 1.096 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/1.264, allocations: 15.81 kB / 1.096 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/1.264, allocations: 186.8 kB / 1.096 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/1.264, allocations: 0 / 1.096 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/1.264, allocations: 11.98 kB / 1.096 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001772/1.264, allocations: 83.17 kB / 1.096 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/1.264, allocations: 85.84 kB / 1.096 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.264, allocations: 4 kB / 1.096 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.264, allocations: 0 / 1.096 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.264, allocations: 7.984 kB / 1.096 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/1.265, allocations: 436 kB / 1.097 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/1.265, allocations: 93.81 kB / 1.097 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/1.265, allocations: 40.48 kB / 1.097 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/1.267, allocations: 0.974 MB / 1.098 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/1.267, allocations: 38.55 kB / 1.098 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/1.267, allocations: 0 / 1.098 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004254/1.267, allocations: 127.4 kB / 1.098 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/1.267, allocations: 55.39 kB / 1.098 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/1.267, allocations: 147.9 kB / 1.098 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/1.267, allocations: 25.7 kB / 1.098 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/1.267, allocations: 103.2 kB / 1.098 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/1.267, allocations: 42.27 kB / 1.098 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/1.267, allocations: 4 kB / 1.098 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.267, allocations: 322.3 kB / 1.099 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/1.268, allocations: 45.81 kB / 1.099 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.268, allocations: 79.92 kB / 1.099 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/1.268, allocations: 122.8 kB / 1.099 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.268, allocations: 4 kB / 1.099 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006605/1.269, allocations: 245.6 kB / 1.099 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.269, allocations: 5.25 kB / 1.099 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.269, allocations: 4 kB / 1.099 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1.269, allocations: 0 / 1.099 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/1.269, allocations: 71.92 kB / 1.099 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.269, allocations: 3.953 kB / 1.099 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/1.269, allocations: 31.73 kB / 1.099 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/1.269, allocations: 4 kB / 1.099 GB, free: 1.352 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 7.501e-05/1.27, allocations: 112.6 kB / 1.099 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003274/1.27, allocations: 139.8 kB / 1.1 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/1.27, allocations: 11.91 kB / 1.1 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/1.27, allocations: 146 kB / 1.1 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.27, allocations: 3.953 kB / 1.1 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.27, allocations: 0 / 1.1 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.27, allocations: 0 / 1.1 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/1.27, allocations: 192.6 kB / 1.1 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.271, allocations: 0 / 1.1 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/1.271, allocations: 43.91 kB / 1.1 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.271, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/1.271, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.271, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.271, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/1.271, allocations: 224.5 kB / 1.1 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/1.271, allocations: 96.16 kB / 1.1 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.271, allocations: 0 / 1.1 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/1.271, allocations: 19.98 kB / 1.1 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/1.271, allocations: 7.984 kB / 1.1 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/1.271, allocations: 0 / 1.1 GB, free: 396 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.602e-05/1.271, allocations: 117.4 kB / 1.1 GB, free: 288 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.709e-06/1.271, allocations: 0 / 1.1 GB, free: 288 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000318/1.272, allocations: 75.67 kB / 1.1 GB, free: 216 kB / 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.0008389/1.273, allocations: 0.8324 MB / 1.101 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002188/1.273, allocations: 114.6 kB / 1.101 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.273, allocations: 4 kB / 1.101 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/1.273, allocations: 42.81 kB / 1.101 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/1.273, allocations: 21.92 kB / 1.101 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/1.274, allocations: 195.7 kB / 1.102 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/1.274, allocations: 0.7084 MB / 1.102 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001024/1.274, allocations: 17.16 kB / 1.102 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/1.274, allocations: 37.48 kB / 1.102 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.274, allocations: 4 kB / 1.102 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/1.297, allocations: 3.64 MB / 1.106 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.297, allocations: 176.5 kB / 1.106 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.907, allocations: 1.406 kB / 1.106 GB, free: 10.47 MB / 0.6511 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)