Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001495/0.001495, allocations: 181.6 kB / 371.8 MB, free: 10.12 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.965/1.965, allocations: 205.4 MB / 0.6305 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009305, allocations: 104.9 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004525, allocations: 13.47 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2445, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8439/1.088, allocations: 140.4 MB / 1.117 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.089, allocations: 84.09 kB / 1.117 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0214/1.11, allocations: 7.545 MB / 1.124 GB, free: 31.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.482e-06/1.11, allocations: 0 / 1.124 GB, free: 31.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.546e-05/1.11, allocations: 7.594 kB / 1.124 GB, free: 31.57 MB / 0.698 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.001267/1.112, allocations: 0.6147 MB / 1.125 GB, free: 31.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.112, allocations: 15.58 kB / 1.125 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/1.112, allocations: 43.03 kB / 1.125 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/1.112, allocations: 29.53 kB / 1.125 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/1.113, allocations: 299.3 kB / 1.125 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/1.113, allocations: 18.59 kB / 1.125 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/1.113, allocations: 11.31 kB / 1.125 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/1.113, allocations: 249.5 kB / 1.125 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/1.113, allocations: 2.625 kB / 1.125 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/1.113, allocations: 6.5 kB / 1.125 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.113, allocations: 3.844 kB / 1.125 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/1.114, allocations: 242.5 kB / 1.126 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/1.115, allocations: 0.9723 MB / 1.127 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/1.116, allocations: 262.5 kB / 1.127 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/1.116, allocations: 0 / 1.127 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.116, allocations: 41.66 kB / 1.127 GB, free: 29.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.587e-06/1.116, allocations: 0 / 1.127 GB, free: 29.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001233/1.117, allocations: 409.3 kB / 1.127 GB, free: 29.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/1.117, allocations: 84.7 kB / 1.127 GB, free: 29.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/1.118, allocations: 232.6 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/1.118, allocations: 29.64 kB / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.118, allocations: 161.9 kB / 1.128 GB, free: 29.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/1.118, allocations: 51.72 kB / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/1.118, allocations: 3.375 kB / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.118, allocations: 334.9 kB / 1.128 GB, free: 29.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/1.118, allocations: 114.5 kB / 1.128 GB, free: 29.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/1.119, allocations: 163.1 kB / 1.128 GB, free: 29.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/1.119, allocations: 122.1 kB / 1.128 GB, free: 29.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.119, allocations: 0 / 1.128 GB, free: 29.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008099/1.12, allocations: 343.8 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.12, allocations: 9.281 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.12, allocations: 0 / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.12, allocations: 3.875 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/1.12, allocations: 75.62 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.12, allocations: 4.125 kB / 1.129 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/1.121, allocations: 48.33 kB / 1.129 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/1.121, allocations: 7.719 kB / 1.129 GB, free: 28.96 MB / 0.698 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.0001642/1.121, allocations: 134.3 kB / 1.129 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/1.121, allocations: 35.02 kB / 1.129 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007868/1.122, allocations: 332 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.122, allocations: 3.875 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.122, allocations: 0 / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.122, allocations: 0 / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/1.122, allocations: 294.4 kB / 1.13 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.122, allocations: 0 / 1.13 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/1.122, allocations: 69 kB / 1.13 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.122, allocations: 8.109 kB / 1.13 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/1.122, allocations: 3.312 kB / 1.13 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.122, allocations: 10.27 kB / 1.13 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.122, allocations: 3.938 kB / 1.13 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/1.123, allocations: 493.1 kB / 1.13 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/1.123, allocations: 100 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/1.123, allocations: 3.953 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.124, allocations: 43.38 kB / 1.13 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/1.124, allocations: 25.84 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/1.124, allocations: 6.938 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001848/1.124, allocations: 185 kB / 1.131 GB, free: 28.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.124, allocations: 0 / 1.131 GB, free: 28.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003904/1.124, allocations: 65.44 kB / 1.131 GB, free: 28.09 MB / 0.698 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.001316/1.126, allocations: 1.116 MB / 1.132 GB, free: 27.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007235/1.127, allocations: 274.9 kB / 1.132 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.127, allocations: 0 / 1.132 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003361/1.127, allocations: 141.5 kB / 1.132 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/1.127, allocations: 61.97 kB / 1.132 GB, free: 27.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/1.129, allocations: 1.673 MB / 1.134 GB, free: 25.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/1.13, allocations: 0.758 MB / 1.135 GB, free: 24.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001919/1.13, allocations: 34.16 kB / 1.135 GB, free: 24.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/1.13, allocations: 90.97 kB / 1.135 GB, free: 24.84 MB / 0.698 GB Notification: Performance of SimCode: time 6.02e-07/1.13, allocations: 0 / 1.135 GB, free: 24.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/1.147, allocations: 5.746 MB / 1.14 GB, free: 22.17 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.148, allocations: 198.7 kB / 1.14 GB, free: 21.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.397, allocations: 0 / 1.14 GB, free: 21.93 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)