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.748/1.748, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001696/0.001697, allocations: 180.8 kB / 366.7 MB, free: 1.656 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.823/1.823, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008441/0.0008438, allocations: 84.5 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.153e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8221/0.8222, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.83, allocations: 362.2 MB / 1.327 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.83, allocations: 88.8 kB / 1.327 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02766/1.858, allocations: 13.8 MB / 1.341 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.863e-06/1.858, allocations: 0 / 1.341 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.858, allocations: 0 / 1.341 GB, free: 215.7 MB / 0.8542 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.0006532/1.859, allocations: 466 kB / 1.341 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.859, allocations: 8.031 kB / 1.341 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/1.859, allocations: 16.84 kB / 1.341 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/1.859, allocations: 182.8 kB / 1.341 GB, free: 215 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/1.859, allocations: 7.969 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/1.859, allocations: 8 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001765/1.859, allocations: 83.98 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/1.859, allocations: 81.7 kB / 1.341 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/1.859, allocations: 0 / 1.341 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/1.859, allocations: 0 / 1.341 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.859, allocations: 4 kB / 1.341 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/1.86, allocations: 446.5 kB / 1.342 GB, free: 214.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/1.86, allocations: 98.56 kB / 1.342 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/1.86, allocations: 40.86 kB / 1.342 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/1.862, allocations: 0.9713 MB / 1.343 GB, free: 213 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/1.862, allocations: 38.52 kB / 1.343 GB, free: 213 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/1.862, allocations: 0 / 1.343 GB, free: 213 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0004225/1.862, allocations: 129.4 kB / 1.343 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/1.862, allocations: 55.39 kB / 1.343 GB, free: 212.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/1.862, allocations: 151 kB / 1.343 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/1.862, allocations: 25.7 kB / 1.343 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/1.862, allocations: 104.4 kB / 1.343 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/1.862, allocations: 39.39 kB / 1.344 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/1.862, allocations: 0 / 1.344 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/1.862, allocations: 324.7 kB / 1.344 GB, free: 212.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/1.862, allocations: 48 kB / 1.344 GB, free: 212.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/1.863, allocations: 76.3 kB / 1.344 GB, free: 212 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/1.863, allocations: 124.7 kB / 1.344 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.863, allocations: 0 / 1.344 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006049/1.864, allocations: 254.2 kB / 1.344 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.864, allocations: 4 kB / 1.344 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.864, allocations: 3.938 kB / 1.344 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.864, allocations: 7.953 kB / 1.344 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/1.864, allocations: 55.95 kB / 1.344 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.864, allocations: 4 kB / 1.344 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/1.864, allocations: 31.89 kB / 1.344 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/1.864, allocations: 8 kB / 1.344 GB, free: 211.5 MB / 0.8542 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.358e-05/1.864, allocations: 108.9 kB / 1.345 GB, free: 211.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002921/1.865, allocations: 137.3 kB / 1.345 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/1.865, allocations: 11.86 kB / 1.345 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/1.865, allocations: 142.6 kB / 1.345 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.865, allocations: 4 kB / 1.345 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.865, allocations: 4 kB / 1.345 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.865, allocations: 3.984 kB / 1.345 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/1.865, allocations: 190 kB / 1.345 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.865, allocations: 4 kB / 1.345 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/1.865, allocations: 31.97 kB / 1.345 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.865, allocations: 0 / 1.345 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.865, allocations: 4 kB / 1.345 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.865, allocations: 10.77 kB / 1.345 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.865, allocations: 6.266 kB / 1.345 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/1.866, allocations: 228.3 kB / 1.345 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/1.866, allocations: 85.02 kB / 1.345 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/1.866, allocations: 0 / 1.345 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/1.866, allocations: 15.98 kB / 1.345 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/1.866, allocations: 15.94 kB / 1.345 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/1.866, allocations: 8 kB / 1.345 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.916e-05/1.866, allocations: 107.6 kB / 1.345 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.866, allocations: 7.938 kB / 1.345 GB, free: 210.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003075/1.866, allocations: 60.3 kB / 1.346 GB, free: 210.3 MB / 0.8542 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.0006557/1.867, allocations: 0.8363 MB / 1.346 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002005/1.867, allocations: 109.5 kB / 1.346 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.867, allocations: 7.938 kB / 1.346 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/1.867, allocations: 45.81 kB / 1.347 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/1.868, allocations: 23.88 kB / 1.347 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/1.868, allocations: 199.5 kB / 1.347 GB, free: 209 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/1.868, allocations: 0.7089 MB / 1.347 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.778e-05/1.868, allocations: 20.58 kB / 1.347 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/1.868, allocations: 35.42 kB / 1.347 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.868, allocations: 0 / 1.347 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/1.894, allocations: 3.621 MB / 1.351 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/1.894, allocations: 165.5 kB / 1.351 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/3.623, allocations: 1.594 kB / 1.351 GB, free: 204.5 MB / 0.8542 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)