Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 285.4 MB / 298 MB, free: 5.984 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.001147/0.001147, allocations: 176.9 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 0.6248 GB, free: 7.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008874/0.0008873, allocations: 87.77 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.915e-05/6.948e-05, allocations: 11.98 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8889/0.889, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/1.106, allocations: 139.8 MB / 1.108 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.106, allocations: 84.47 kB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01559/1.122, allocations: 5.255 MB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/1.122, allocations: 3.938 kB / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.122, allocations: 0 / 1.113 GB, free: 6.637 MB / 0.7136 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.0004433/1.122, allocations: 398.2 kB / 1.113 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.123, allocations: 16.02 kB / 1.113 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/1.123, allocations: 37.28 kB / 1.113 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/1.123, allocations: 7.906 kB / 1.113 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/1.123, allocations: 202.8 kB / 1.113 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/1.123, allocations: 0 / 1.113 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/1.123, allocations: 4 kB / 1.113 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/1.123, allocations: 53.62 kB / 1.113 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.123, allocations: 0 / 1.113 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.123, allocations: 0 / 1.113 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.123, allocations: 4 kB / 1.113 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/1.123, allocations: 27.98 kB / 1.113 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/1.124, allocations: 300.8 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/1.124, allocations: 50.52 kB / 1.114 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/1.124, allocations: 20.98 kB / 1.114 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/1.124, allocations: 6.516 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.124, allocations: 34.56 kB / 1.114 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/1.124, allocations: 0 / 1.114 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002142/1.124, allocations: 67.47 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.124, allocations: 55.36 kB / 1.114 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/1.124, allocations: 120.5 kB / 1.114 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/1.124, allocations: 29.7 kB / 1.114 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/1.124, allocations: 96.05 kB / 1.114 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/1.124, allocations: 23.8 kB / 1.114 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/1.124, allocations: 4 kB / 1.114 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.125, allocations: 314.8 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/1.125, allocations: 12 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/1.125, allocations: 15.94 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/1.125, allocations: 15.98 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.125, allocations: 0 / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000139/1.125, allocations: 77.59 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.125, allocations: 7.938 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.125, allocations: 0 / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.125, allocations: 0 / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/1.125, allocations: 19.61 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.125, allocations: 4 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/1.125, allocations: 15.94 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/1.125, allocations: 0 / 1.115 GB, free: 4.426 MB / 0.7136 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 () * 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 6.587e-05/1.125, allocations: 112.9 kB / 1.115 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/1.125, allocations: 7.906 kB / 1.115 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/1.125, allocations: 79.88 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.125, allocations: 0 / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.125, allocations: 0.5625 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.125, allocations: 0 / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/1.126, allocations: 185.6 kB / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/1.126, allocations: 4 kB / 1.115 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/1.126, allocations: 16 kB / 1.115 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.126, allocations: 3.984 kB / 1.115 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/1.126, allocations: 10.61 kB / 1.115 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.126, allocations: 0 / 1.115 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.126, allocations: 3.938 kB / 1.115 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/1.126, allocations: 167.4 kB / 1.115 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/1.126, allocations: 88.95 kB / 1.115 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/1.126, allocations: 0 / 1.115 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/1.126, allocations: 15.98 kB / 1.115 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/1.126, allocations: 4 kB / 1.115 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/1.126, allocations: 3.984 kB / 1.115 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.461e-05/1.126, allocations: 101.8 kB / 1.115 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.126, allocations: 0 / 1.115 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002359/1.127, allocations: 20 kB / 1.116 GB, free: 3.527 MB / 0.7136 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 (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.000511/1.127, allocations: 0.7378 MB / 1.116 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001206/1.127, allocations: 39.98 kB / 1.116 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.127, allocations: 0 / 1.116 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/1.127, allocations: 23.94 kB / 1.116 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/1.127, allocations: 8 kB / 1.116 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/1.128, allocations: 148.8 kB / 1.116 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/1.128, allocations: 0.6965 MB / 1.117 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.939e-05/1.128, allocations: 4.188 kB / 1.117 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/1.128, allocations: 23.42 kB / 1.117 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/1.128, allocations: 0 / 1.117 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/1.141, allocations: 1.986 MB / 1.119 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.141, allocations: 190.1 kB / 1.119 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.612, allocations: 0 / 1.119 GB, free: 15.75 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)