Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7533/0.7533, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 188.7 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.1 MB / 404.5 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 96.25 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.82e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1729, allocations: 76.76 MB / 0.6283 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.395, allocations: 321.6 MB / 0.9423 GB, free: 212.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/1.395, allocations: 91.94 kB / 0.9424 GB, free: 212.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02636/1.422, allocations: 13.46 MB / 0.9556 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.705e-06/1.422, allocations: 7.938 kB / 0.9556 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.422, allocations: 4 kB / 0.9556 GB, free: 199.1 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.0007265/1.422, allocations: 455 kB / 0.956 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.422, allocations: 8.031 kB / 0.956 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/1.422, allocations: 42.55 kB / 0.956 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/1.422, allocations: 19.77 kB / 0.9561 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/1.423, allocations: 175 kB / 0.9562 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/1.423, allocations: 8 kB / 0.9562 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/1.423, allocations: 11.94 kB / 0.9563 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/1.423, allocations: 97.58 kB / 0.9563 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.423, allocations: 4 kB / 0.9563 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.423, allocations: 8 kB / 0.9564 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.423, allocations: 3.953 kB / 0.9564 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/1.423, allocations: 91.97 kB / 0.9564 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/1.424, allocations: 472.5 kB / 0.9569 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/1.424, allocations: 98.52 kB / 0.957 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/1.424, allocations: 48.84 kB / 0.957 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.425, allocations: 0.984 MB / 0.958 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/1.425, allocations: 38.56 kB / 0.958 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/1.425, allocations: 0 / 0.958 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0002561/1.426, allocations: 117.4 kB / 0.9581 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/1.426, allocations: 51.41 kB / 0.9582 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.426, allocations: 153.1 kB / 0.9583 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/1.426, allocations: 29.7 kB / 0.9584 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/1.426, allocations: 108.4 kB / 0.9585 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/1.426, allocations: 43.39 kB / 0.9585 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/1.426, allocations: 4 kB / 0.9585 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/1.426, allocations: 330.8 kB / 0.9588 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/1.426, allocations: 48 kB / 0.9589 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/1.426, allocations: 79.42 kB / 0.959 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/1.426, allocations: 61.19 kB / 0.959 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.426, allocations: 0 / 0.959 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002731/1.427, allocations: 200.5 kB / 0.9592 GB, free: 195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.427, allocations: 4 kB / 0.9592 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.427, allocations: 4 kB / 0.9592 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.427, allocations: 0 / 0.9592 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/1.427, allocations: 63.89 kB / 0.9593 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.427, allocations: 4 kB / 0.9593 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/1.427, allocations: 43.77 kB / 0.9593 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/1.427, allocations: 12 kB / 0.9593 GB, free: 194.8 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.256e-05/1.427, allocations: 108.9 kB / 0.9594 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/1.427, allocations: 15.81 kB / 0.9595 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/1.428, allocations: 130.1 kB / 0.9596 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.428, allocations: 4 kB / 0.9596 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.428, allocations: 0 / 0.9596 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.428, allocations: 4 kB / 0.9596 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/1.428, allocations: 217.5 kB / 0.9598 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.428, allocations: 0 / 0.9598 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/1.428, allocations: 35.97 kB / 0.9598 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.428, allocations: 4 kB / 0.9598 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/1.428, allocations: 3.984 kB / 0.9598 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.428, allocations: 3.938 kB / 0.9598 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.428, allocations: 4 kB / 0.9598 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/1.428, allocations: 207.3 kB / 0.96 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/1.428, allocations: 88.97 kB / 0.9601 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/1.428, allocations: 8 kB / 0.9601 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/1.429, allocations: 15.98 kB / 0.9601 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/1.429, allocations: 11.98 kB / 0.9602 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/1.429, allocations: 4 kB / 0.9602 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.147e-05/1.429, allocations: 116.5 kB / 0.9603 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/1.429, allocations: 0 / 0.9603 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003391/1.429, allocations: 72.2 kB / 0.9603 GB, free: 193.7 MB / 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.0005637/1.43, allocations: 0.8136 MB / 0.9611 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002205/1.43, allocations: 120.3 kB / 0.9613 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.43, allocations: 0 / 0.9613 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/1.43, allocations: 51.88 kB / 0.9613 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/1.43, allocations: 28.55 kB / 0.9613 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/1.431, allocations: 219.4 kB / 0.9615 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/1.431, allocations: 0.7048 MB / 0.9622 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001015/1.431, allocations: 20.58 kB / 0.9622 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/1.431, allocations: 31.44 kB / 0.9623 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.431, allocations: 3.938 kB / 0.9623 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/1.447, allocations: 4.354 MB / 0.9665 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.447, allocations: 190.5 kB / 0.9667 GB, free: 187.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/3.17, allocations: 4.062 kB / 0.9667 GB, free: 187.2 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)