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.737/1.737, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001304/0.001304, allocations: 182.2 kB / 371.6 MB, free: 3.367 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.702/1.702, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009638/0.0009637, allocations: 93.09 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.716e-05/5.718e-05, allocations: 12 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3234, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.494, allocations: 362.9 MB / 1.334 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/1.494, allocations: 87.58 kB / 1.334 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.03353/1.528, allocations: 13.86 MB / 1.348 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.553e-06/1.528, allocations: 0 / 1.348 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.528, allocations: 0 / 1.348 GB, free: 6.289 MB / 0.9167 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.0007499/1.529, allocations: 469.8 kB / 1.348 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.529, allocations: 8.031 kB / 1.348 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/1.529, allocations: 40.03 kB / 1.348 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/1.529, allocations: 9.625 kB / 1.348 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.529, allocations: 186.1 kB / 1.349 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/1.529, allocations: 7.438 kB / 1.349 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/1.529, allocations: 11.69 kB / 1.349 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/1.529, allocations: 99.67 kB / 1.349 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.529, allocations: 0.75 kB / 1.349 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/1.529, allocations: 0 / 1.349 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.529, allocations: 4 kB / 1.349 GB, free: 5.43 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/1.529, allocations: 91.66 kB / 1.349 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009802/1.53, allocations: 477.3 kB / 1.349 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/1.531, allocations: 101.5 kB / 1.349 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/1.531, allocations: 50.25 kB / 1.349 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/1.532, allocations: 0.9786 MB / 1.35 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.532, allocations: 39.31 kB / 1.35 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/1.532, allocations: 0 / 1.35 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0002638/1.532, allocations: 109.2 kB / 1.35 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.532, allocations: 58.8 kB / 1.351 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/1.533, allocations: 141.8 kB / 1.351 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/1.533, allocations: 25.7 kB / 1.351 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/1.533, allocations: 110.2 kB / 1.351 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/1.533, allocations: 41.95 kB / 1.351 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/1.533, allocations: 9.156 kB / 1.351 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.533, allocations: 321.9 kB / 1.351 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/1.533, allocations: 47.25 kB / 1.351 GB, free: 2.902 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/1.533, allocations: 82.61 kB / 1.351 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/1.533, allocations: 65.61 kB / 1.351 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.533, allocations: 4 kB / 1.351 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003113/1.534, allocations: 195.3 kB / 1.352 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.534, allocations: 11.95 kB / 1.352 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.534, allocations: 0 / 1.352 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.534, allocations: 0 / 1.352 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/1.534, allocations: 63.89 kB / 1.352 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.534, allocations: 4.094 kB / 1.352 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/1.534, allocations: 31.08 kB / 1.352 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/1.534, allocations: 12.75 kB / 1.352 GB, free: 2.523 MB / 0.9167 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 0.0001046/1.534, allocations: 109.8 kB / 1.352 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/1.534, allocations: 16.94 kB / 1.352 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/1.535, allocations: 138.5 kB / 1.352 GB, free: 2.297 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.535, allocations: 4 kB / 1.352 GB, free: 2.293 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.535, allocations: 0 / 1.352 GB, free: 2.293 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.535, allocations: 3.984 kB / 1.352 GB, free: 2.289 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/1.535, allocations: 218.7 kB / 1.352 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.535, allocations: 1.312 kB / 1.352 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/1.535, allocations: 41.22 kB / 1.352 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.535, allocations: 0 / 1.352 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.535, allocations: 0 / 1.352 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.535, allocations: 8.5 kB / 1.352 GB, free: 2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.535, allocations: 0 / 1.352 GB, free: 2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/1.535, allocations: 211 kB / 1.352 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/1.535, allocations: 84.92 kB / 1.352 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.535, allocations: 4 kB / 1.352 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.536, allocations: 24.3 kB / 1.352 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/1.536, allocations: 11.94 kB / 1.353 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/1.536, allocations: 4 kB / 1.353 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.438e-05/1.536, allocations: 111.7 kB / 1.353 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.894e-06/1.536, allocations: 0 / 1.353 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003294/1.536, allocations: 73.3 kB / 1.353 GB, free: 1.504 MB / 0.9167 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.0007404/1.537, allocations: 0.8157 MB / 1.353 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002402/1.537, allocations: 119.5 kB / 1.354 GB, free: 0.6055 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.537, allocations: 4 kB / 1.354 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/1.537, allocations: 39.25 kB / 1.354 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.537, allocations: 38.75 kB / 1.354 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/1.538, allocations: 215.1 kB / 1.354 GB, free: 336 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/1.538, allocations: 0.7087 MB / 1.355 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001031/1.538, allocations: 26.33 kB / 1.355 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/1.539, allocations: 33.5 kB / 1.355 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of SimCode: time 2.3e-07/1.539, allocations: 0 / 1.355 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/1.555, allocations: 4.287 MB / 1.359 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.555, allocations: 176.3 kB / 1.359 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/3.447, allocations: 0 / 1.359 GB, free: 11.21 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)