Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.502/1.502, 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.001399/0.001399, allocations: 186.7 kB / 326.5 MB, free: 2.219 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.813/1.813, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.000843/0.0008433, allocations: 89.92 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003907, allocations: 13.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.4236, allocations: 133.6 MB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4239, allocations: 83.95 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.44, allocations: 5.269 MB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.518e-06/0.4401, allocations: 4 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4401, allocations: 0 / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005548/0.4407, allocations: 422.8 kB / 1.036 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4407, allocations: 8.031 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.4408, allocations: 34.55 kB / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4409, allocations: 15.91 kB / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.4412, allocations: 197.2 kB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.4412, allocations: 0 / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.4412, allocations: 8 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4414, allocations: 69.61 kB / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.4414, allocations: 0 / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4415, allocations: 4 kB / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4415, allocations: 3.984 kB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.4416, allocations: 51.95 kB / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.4422, allocations: 304.8 kB / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.4423, allocations: 62.48 kB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.4424, allocations: 0 / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4424, allocations: 30.56 kB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4424, allocations: 4 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003894/0.4428, allocations: 113.7 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.4429, allocations: 59.36 kB / 1.037 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.443, allocations: 121.2 kB / 1.037 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.443, allocations: 25.7 kB / 1.037 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.4431, allocations: 92.14 kB / 1.037 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.4431, allocations: 27.58 kB / 1.037 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.4431, allocations: 0 / 1.037 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4433, allocations: 318.8 kB / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.4433, allocations: 23.98 kB / 1.038 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.4434, allocations: 31.97 kB / 1.038 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.845e-05/0.4435, allocations: 24 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4435, allocations: 0 / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002222/0.4437, allocations: 101.6 kB / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4438, allocations: 6.5 kB / 1.038 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4438, allocations: 4 kB / 1.038 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4438, allocations: 0 / 1.038 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4439, allocations: 15.98 kB / 1.038 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.444, allocations: 0 / 1.038 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.444, allocations: 23.78 kB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.444, allocations: 4 kB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.103e-05/0.4441, allocations: 117.8 kB / 1.038 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.4442, allocations: 7.906 kB / 1.038 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.4444, allocations: 106 kB / 1.038 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4444, allocations: 0 / 1.038 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4445, allocations: 0 / 1.038 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4445, allocations: 4 kB / 1.038 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.4447, allocations: 190.2 kB / 1.038 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4447, allocations: 0 / 1.038 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.225e-05/0.4448, allocations: 23.92 kB / 1.038 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4448, allocations: 0 / 1.038 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4448, allocations: 0 / 1.038 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4448, allocations: 0 / 1.038 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4448, allocations: 0 / 1.038 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.4451, allocations: 199.4 kB / 1.039 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.4451, allocations: 85.02 kB / 1.039 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.4452, allocations: 4 kB / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.4453, allocations: 7.984 kB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.4453, allocations: 4 kB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4453, allocations: 7.984 kB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.4454, allocations: 103.3 kB / 1.039 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4454, allocations: 0 / 1.039 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002541/0.4457, allocations: 23.94 kB / 1.039 GB, free: 1.258 MB / 0.6823 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 (6): * Single equations (assignments): 6 * 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.0006229/0.4463, allocations: 0.7553 MB / 1.04 GB, free: 488 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.4465, allocations: 59.95 kB / 1.04 GB, free: 428 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4465, allocations: 0 / 1.04 GB, free: 428 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.4466, allocations: 39.92 kB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.4468, allocations: 8 kB / 1.04 GB, free: 380 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.4476, allocations: 428.3 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.4478, allocations: 0.7022 MB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.406e-05/0.4479, allocations: 12.17 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.448, allocations: 27.42 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.448, allocations: 0 / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.4607, allocations: 1.968 MB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.461, allocations: 205.5 kB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.123, allocations: 0 / 1.043 GB, free: 13.11 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)