Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.531/2.531, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001628/0.001628, allocations: 182.6 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 100.5 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005078, allocations: 13.45 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2369, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.5, allocations: 361.8 MB / 1.332 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/1.5, allocations: 88.2 kB / 1.332 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05171/1.552, allocations: 13.92 MB / 1.345 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.034e-06/1.552, allocations: 0 / 1.345 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.195e-05/1.552, allocations: 4 kB / 1.345 GB, free: 8.395 MB / 0.8698 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.001129/1.553, allocations: 476.8 kB / 1.346 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.553, allocations: 12.03 kB / 1.346 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/1.553, allocations: 38.44 kB / 1.346 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/1.553, allocations: 15.81 kB / 1.346 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/1.553, allocations: 175 kB / 1.346 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.553, allocations: 11.36 kB / 1.346 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/1.554, allocations: 11.12 kB / 1.346 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/1.554, allocations: 131.4 kB / 1.346 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.554, allocations: 0 / 1.346 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/1.554, allocations: 3.312 kB / 1.346 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.554, allocations: 4 kB / 1.346 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/1.555, allocations: 159.6 kB / 1.346 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/1.556, allocations: 473.6 kB / 1.347 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/1.557, allocations: 136.3 kB / 1.347 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002004/1.559, allocations: 0.9692 MB / 1.348 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/1.559, allocations: 34.06 kB / 1.348 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 3.116e-06/1.559, allocations: 3.938 kB / 1.348 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.001317/1.56, allocations: 239.7 kB / 1.348 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/1.56, allocations: 59.33 kB / 1.348 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/1.561, allocations: 147.8 kB / 1.348 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/1.561, allocations: 25.7 kB / 1.348 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/1.561, allocations: 106.1 kB / 1.348 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/1.561, allocations: 46.11 kB / 1.349 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/1.561, allocations: 3.562 kB / 1.349 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.561, allocations: 326.6 kB / 1.349 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/1.561, allocations: 89.31 kB / 1.349 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/1.562, allocations: 120.8 kB / 1.349 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/1.562, allocations: 95.08 kB / 1.349 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.562, allocations: 0 / 1.349 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000997/1.563, allocations: 267.6 kB / 1.349 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.563, allocations: 8 kB / 1.349 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.563, allocations: 0 / 1.349 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.563, allocations: 4 kB / 1.349 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/1.564, allocations: 55.95 kB / 1.349 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.564, allocations: 4.094 kB / 1.349 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/1.564, allocations: 44.98 kB / 1.349 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.564, allocations: 8 kB / 1.349 GB, free: 4.223 MB / 0.8698 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.0001322/1.564, allocations: 125.3 kB / 1.35 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/1.564, allocations: 15.86 kB / 1.35 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008387/1.565, allocations: 208.4 kB / 1.35 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.565, allocations: 0 / 1.35 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.565, allocations: 0 / 1.35 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.565, allocations: 3.938 kB / 1.35 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/1.566, allocations: 219.7 kB / 1.35 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.566, allocations: 4 kB / 1.35 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/1.566, allocations: 39.03 kB / 1.35 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.566, allocations: 0 / 1.35 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/1.566, allocations: 7.953 kB / 1.35 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.566, allocations: 4 kB / 1.35 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.566, allocations: 0 / 1.35 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/1.567, allocations: 276.5 kB / 1.35 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/1.567, allocations: 85.02 kB / 1.35 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/1.567, allocations: 6.609 kB / 1.35 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/1.567, allocations: 19.94 kB / 1.35 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/1.567, allocations: 19.28 kB / 1.35 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/1.567, allocations: 4 kB / 1.35 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001093/1.567, allocations: 118.1 kB / 1.351 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.4e-07/1.567, allocations: 0 / 1.351 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004838/1.568, allocations: 62.69 kB / 1.351 GB, free: 3.051 MB / 0.8698 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.001397/1.569, allocations: 0.8817 MB / 1.352 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008698/1.57, allocations: 192.2 kB / 1.352 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.57, allocations: 4 kB / 1.352 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/1.571, allocations: 77.45 kB / 1.352 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/1.571, allocations: 22.81 kB / 1.352 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/1.572, allocations: 1.045 MB / 1.353 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/1.572, allocations: 0.7087 MB / 1.354 GB, free: 132 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001828/1.573, allocations: 21.56 kB / 1.354 GB, free: 112 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/1.573, allocations: 36.67 kB / 1.354 GB, free: 92 kB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/1.573, allocations: 0 / 1.354 GB, free: 92 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/1.599, allocations: 4.228 MB / 1.358 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/1.599, allocations: 206 kB / 1.358 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/4.211, allocations: 0 / 1.358 GB, free: 11.8 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)