Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001623/0.001623, allocations: 180.3 kB / 377.1 MB, free: 1.52 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.845/1.845, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.0008687/0.0008685, allocations: 97.39 kB / 0.7509 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003552, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2935, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8281/1.122, allocations: 141.4 MB / 1.127 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/1.122, allocations: 81.41 kB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02075/1.143, allocations: 7.561 MB / 1.134 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.935e-06/1.143, allocations: 0 / 1.134 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.703e-05/1.143, allocations: 12 kB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001056/1.144, allocations: 0.6093 MB / 1.135 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.144, allocations: 16.67 kB / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/1.144, allocations: 50.12 kB / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/1.144, allocations: 31.38 kB / 1.135 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/1.145, allocations: 295 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/1.145, allocations: 13.53 kB / 1.135 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/1.145, allocations: 19.44 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/1.145, allocations: 252.7 kB / 1.135 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.145, allocations: 0 / 1.135 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/1.145, allocations: 8 kB / 1.135 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/1.145, allocations: 4 kB / 1.135 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/1.146, allocations: 240.8 kB / 1.135 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/1.147, allocations: 0.959 MB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/1.148, allocations: 267 kB / 1.137 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/1.148, allocations: 0.75 kB / 1.137 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.148, allocations: 39.81 kB / 1.137 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/1.148, allocations: 7.922 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.001157/1.149, allocations: 403.7 kB / 1.137 GB, free: 25.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.149, allocations: 82.47 kB / 1.137 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/1.15, allocations: 234.1 kB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/1.15, allocations: 29.7 kB / 1.137 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/1.15, allocations: 157.7 kB / 1.138 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/1.15, allocations: 56.05 kB / 1.138 GB, free: 24.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/1.15, allocations: 4 kB / 1.138 GB, free: 24.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/1.15, allocations: 336.5 kB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/1.15, allocations: 110.9 kB / 1.138 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/1.15, allocations: 167.7 kB / 1.138 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/1.151, allocations: 120.9 kB / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.151, allocations: 0 / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007812/1.152, allocations: 337.7 kB / 1.139 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.152, allocations: 8 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.152, allocations: 0 / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.152, allocations: 9.672 kB / 1.139 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/1.152, allocations: 73.86 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.152, allocations: 7.922 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/1.152, allocations: 47.58 kB / 1.139 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/1.152, allocations: 8 kB / 1.139 GB, free: 23.56 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001177/1.152, allocations: 140.2 kB / 1.139 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/1.152, allocations: 27.67 kB / 1.139 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/1.153, allocations: 328.1 kB / 1.139 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.153, allocations: 8.703 kB / 1.139 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.153, allocations: 0 / 1.139 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.153, allocations: 1.734 kB / 1.139 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/1.154, allocations: 295.3 kB / 1.14 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/1.154, allocations: 4.656 kB / 1.14 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/1.154, allocations: 68.56 kB / 1.14 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.154, allocations: 3.953 kB / 1.14 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/1.154, allocations: 0.6094 kB / 1.14 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.154, allocations: 5.125 kB / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.154, allocations: 0 / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/1.155, allocations: 0.4896 MB / 1.14 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/1.155, allocations: 98 kB / 1.14 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/1.155, allocations: 12.78 kB / 1.14 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/1.155, allocations: 37.66 kB / 1.14 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/1.155, allocations: 18.94 kB / 1.14 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/1.155, allocations: 8 kB / 1.14 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001618/1.155, allocations: 185.8 kB / 1.14 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.155, allocations: 4 kB / 1.14 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003543/1.156, allocations: 64.8 kB / 1.141 GB, free: 21.89 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001049/1.157, allocations: 1.119 MB / 1.142 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007593/1.158, allocations: 272.6 kB / 1.142 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.158, allocations: 64 / 1.142 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/1.158, allocations: 143.7 kB / 1.142 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/1.158, allocations: 63.94 kB / 1.142 GB, free: 20.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/1.16, allocations: 1.671 MB / 1.144 GB, free: 18.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/1.16, allocations: 0.7583 MB / 1.144 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001514/1.16, allocations: 30.08 kB / 1.144 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/1.16, allocations: 87.12 kB / 1.145 GB, free: 17.86 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/1.16, allocations: 3.938 kB / 1.145 GB, free: 17.85 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/1.18, allocations: 5.723 MB / 1.15 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/1.18, allocations: 190.3 kB / 1.15 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.578, allocations: 0 / 1.15 GB, free: 14.44 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)