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.434/1.434, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 187.2 kB / 326.5 MB, free: 2.25 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.866/1.866, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001071/0.001071, allocations: 98.58 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003649, allocations: 15.44 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9922/1.24, allocations: 354.5 MB / 1.246 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/1.241, allocations: 92.02 kB / 1.246 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03562/1.276, allocations: 13.59 MB / 1.26 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.424e-06/1.276, allocations: 0 / 1.26 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.276, allocations: 4 kB / 1.26 GB, free: 1.148 MB / 0.7605 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.001005/1.277, allocations: 478.2 kB / 1.26 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 8.335e-05/1.278, allocations: 15.97 kB / 1.26 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.778e-05/1.278, allocations: 33.75 kB / 1.26 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/1.278, allocations: 15.91 kB / 1.26 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/1.278, allocations: 196.7 kB / 1.26 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.278, allocations: 7.25 kB / 1.26 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/1.278, allocations: 11.88 kB / 1.26 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/1.278, allocations: 118.6 kB / 1.261 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.278, allocations: 4 kB / 1.261 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/1.278, allocations: 4 kB / 1.261 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.278, allocations: 0 / 1.261 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/1.279, allocations: 164.2 kB / 1.261 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/1.28, allocations: 476.1 kB / 1.261 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/1.28, allocations: 132 kB / 1.261 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/1.282, allocations: 0.9653 MB / 1.262 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.282, allocations: 30.56 kB / 1.262 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/1.282, allocations: 0 / 1.262 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0007099/1.283, allocations: 242 kB / 1.262 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.283, allocations: 59.41 kB / 1.263 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.283, allocations: 145.6 kB / 1.263 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.283, allocations: 29.7 kB / 1.263 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/1.283, allocations: 110.6 kB / 1.263 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/1.283, allocations: 35.27 kB / 1.263 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/1.283, allocations: 3.312 kB / 1.263 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.283, allocations: 326.1 kB / 1.263 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/1.283, allocations: 86.06 kB / 1.263 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/1.284, allocations: 122.8 kB / 1.263 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/1.284, allocations: 97.08 kB / 1.263 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.284, allocations: 4 kB / 1.263 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006198/1.284, allocations: 270.4 kB / 1.264 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.285, allocations: 4 kB / 1.264 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.285, allocations: 0 / 1.264 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.285, allocations: 4 kB / 1.264 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/1.285, allocations: 63.83 kB / 1.264 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.285, allocations: 4 kB / 1.264 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/1.285, allocations: 39.11 kB / 1.264 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/1.285, allocations: 11.92 kB / 1.264 GB, free: 12.98 MB / 0.7761 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.0001187/1.285, allocations: 129.3 kB / 1.264 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/1.285, allocations: 15.77 kB / 1.264 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/1.286, allocations: 189.9 kB / 1.264 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/1.286, allocations: 4 kB / 1.264 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.286, allocations: 4 kB / 1.264 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.286, allocations: 0 / 1.264 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/1.286, allocations: 219.4 kB / 1.264 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.286, allocations: 0 / 1.264 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.286, allocations: 43.91 kB / 1.264 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.286, allocations: 0 / 1.264 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.286, allocations: 7.516 kB / 1.264 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.286, allocations: 0 / 1.264 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.286, allocations: 0 / 1.264 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/1.287, allocations: 276.2 kB / 1.265 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/1.287, allocations: 88.92 kB / 1.265 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/1.287, allocations: 7.984 kB / 1.265 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.287, allocations: 23.44 kB / 1.265 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/1.287, allocations: 7.984 kB / 1.265 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/1.287, allocations: 0 / 1.265 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000101/1.287, allocations: 123.4 kB / 1.265 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.683e-06/1.287, allocations: 0 / 1.265 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003963/1.288, allocations: 67 kB / 1.265 GB, free: 11.82 MB / 0.7761 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.001224/1.289, allocations: 0.8869 MB / 1.266 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005597/1.29, allocations: 191.8 kB / 1.266 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.29, allocations: 0 / 1.266 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/1.29, allocations: 82.27 kB / 1.266 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/1.29, allocations: 24.25 kB / 1.266 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/1.291, allocations: 1.049 MB / 1.267 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/1.292, allocations: 0.7087 MB / 1.268 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001252/1.292, allocations: 21.02 kB / 1.268 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/1.292, allocations: 36.73 kB / 1.268 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/1.292, allocations: 0 / 1.268 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/1.31, allocations: 4.218 MB / 1.272 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/1.311, allocations: 216.3 kB / 1.272 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/3.165, allocations: 3.938 kB / 1.272 GB, free: 4.582 MB / 0.7761 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)