Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 187.1 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009656/0.0009657, allocations: 88.55 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.134e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9667/1.189, allocations: 354.7 MB / 1.232 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.189, allocations: 87.75 kB / 1.232 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02974/1.219, allocations: 13.45 MB / 1.245 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.024e-06/1.219, allocations: 0 / 1.245 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.233e-06/1.219, allocations: 0 / 1.245 GB, free: 4.059 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.0007531/1.22, allocations: 468.5 kB / 1.245 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.22, allocations: 8.031 kB / 1.245 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/1.22, allocations: 19.81 kB / 1.245 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/1.22, allocations: 180 kB / 1.246 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/1.22, allocations: 4 kB / 1.246 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/1.22, allocations: 8 kB / 1.246 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001964/1.22, allocations: 91.22 kB / 1.246 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/1.221, allocations: 86.81 kB / 1.246 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.221, allocations: 3.938 kB / 1.246 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/1.221, allocations: 0 / 1.246 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.221, allocations: 4 kB / 1.246 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/1.221, allocations: 435.7 kB / 1.246 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/1.222, allocations: 101.2 kB / 1.246 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/1.222, allocations: 41.98 kB / 1.246 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/1.223, allocations: 0.973 MB / 1.247 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/1.223, allocations: 33.75 kB / 1.247 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/1.223, allocations: 4 kB / 1.247 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0004448/1.224, allocations: 128.4 kB / 1.247 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/1.224, allocations: 55.34 kB / 1.247 GB, free: 1.379 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/1.224, allocations: 142.3 kB / 1.248 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.224, allocations: 29.7 kB / 1.248 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/1.224, allocations: 106.7 kB / 1.248 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/1.224, allocations: 42.67 kB / 1.248 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/1.224, allocations: 0 / 1.248 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.224, allocations: 328 kB / 1.248 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/1.224, allocations: 44.88 kB / 1.248 GB, free: 0.7305 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/1.224, allocations: 84.8 kB / 1.248 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/1.225, allocations: 124.1 kB / 1.248 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.225, allocations: 4 kB / 1.248 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006235/1.225, allocations: 236.5 kB / 1.249 GB, free: 376 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.225, allocations: 14.12 kB / 1.249 GB, free: 364 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.225, allocations: 3.953 kB / 1.249 GB, free: 360 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.225, allocations: 4 kB / 1.249 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/1.226, allocations: 63.83 kB / 1.249 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/1.226, allocations: 4 kB / 1.249 GB, free: 292 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/1.226, allocations: 31.73 kB / 1.249 GB, free: 260 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/1.226, allocations: 8 kB / 1.249 GB, free: 252 kB / 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 8.23e-05/1.226, allocations: 104.9 kB / 1.249 GB, free: 140 kB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003039/1.226, allocations: 129.1 kB / 1.249 GB, free: 28 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/1.226, allocations: 22.89 kB / 1.249 GB, free: 8 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5116/1.738, allocations: 141.3 kB / 1.249 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.738, allocations: 2.016 kB / 1.249 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.738, allocations: 2.25 kB / 1.249 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.738, allocations: 1.031 kB / 1.249 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/1.738, allocations: 185.3 kB / 1.249 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.738, allocations: 1.078 kB / 1.249 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/1.739, allocations: 35.86 kB / 1.249 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/1.739, allocations: 1.797 kB / 1.249 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/1.739, allocations: 5.781 kB / 1.249 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.739, allocations: 5.562 kB / 1.249 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.739, allocations: 0 / 1.249 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/1.739, allocations: 229.4 kB / 1.249 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/1.739, allocations: 92.98 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/1.739, allocations: 1.219 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/1.739, allocations: 20.95 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/1.739, allocations: 9.25 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.739, allocations: 8.219 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.358e-05/1.739, allocations: 108.7 kB / 1.25 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/1.739, allocations: 0 / 1.25 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004144/1.74, allocations: 60.92 kB / 1.25 GB, free: 308.8 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.0008076/1.741, allocations: 0.8375 MB / 1.251 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000276/1.741, allocations: 109.3 kB / 1.251 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.741, allocations: 0 / 1.251 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/1.741, allocations: 45.34 kB / 1.251 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/1.741, allocations: 21.89 kB / 1.251 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/1.742, allocations: 202.6 kB / 1.251 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/1.742, allocations: 0.7093 MB / 1.252 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001103/1.742, allocations: 21.78 kB / 1.252 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/1.742, allocations: 35.92 kB / 1.252 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/1.742, allocations: 0 / 1.252 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/1.765, allocations: 3.639 MB / 1.255 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/1.766, allocations: 167.5 kB / 1.255 GB, free: 307 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/3.309, allocations: 0 / 1.255 GB, free: 307 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)