Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",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.712/1.712, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001159/0.001159, allocations: 181 kB / 371.8 MB, free: 10.27 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.692/1.692, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009589/0.0009589, allocations: 90.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 16.61 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.416/5.633, allocations: 2.368 GB / 3.347 GB, free: 326.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/5.634, allocations: 95.2 kB / 3.347 GB, free: 326.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.515/13.15, allocations: 2.063 GB / 5.41 GB, free: 97.99 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.088e-06/13.15, allocations: 0 / 5.41 GB, free: 97.99 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001315/13.15, allocations: 139.5 kB / 5.41 GB, free: 97.86 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.02771/13.18, allocations: 6.296 MB / 5.416 GB, free: 91.51 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/13.18, allocations: 8.031 kB / 5.416 GB, free: 91.5 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003482/13.18, allocations: 0.5626 MB / 5.417 GB, free: 90.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/13.19, allocations: 1.241 MB / 5.418 GB, free: 89.69 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02095/13.21, allocations: 6.712 MB / 5.424 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004201/13.21, allocations: 307.7 kB / 5.425 GB, free: 82.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/13.22, allocations: 411.9 kB / 5.425 GB, free: 82.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/13.23, allocations: 5.594 MB / 5.431 GB, free: 76.56 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002947/13.23, allocations: 7.938 kB / 5.431 GB, free: 76.55 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/13.24, allocations: 164.7 kB / 5.431 GB, free: 76.39 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/13.24, allocations: 195.7 kB / 5.431 GB, free: 76.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/13.25, allocations: 4.922 MB / 5.436 GB, free: 71.28 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03511/13.28, allocations: 24 MB / 5.459 GB, free: 45.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/13.29, allocations: 3.848 MB / 5.463 GB, free: 42 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009691/13.29, allocations: 1.002 MB / 5.464 GB, free: 40.79 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002486/13.29, allocations: 1.87 MB / 5.466 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 4.979e-06/13.29, allocations: 0 / 5.466 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.01883/13.31, allocations: 9.914 MB / 5.475 GB, free: 28.69 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/13.31, allocations: 140.9 kB / 5.475 GB, free: 28.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007142/13.32, allocations: 3.903 MB / 5.479 GB, free: 24.61 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/13.32, allocations: 85.7 kB / 5.479 GB, free: 24.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/13.32, allocations: 2.203 MB / 5.482 GB, free: 22.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/13.32, allocations: 0.9666 MB / 5.482 GB, free: 21.32 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/13.32, allocations: 60 kB / 5.483 GB, free: 21.26 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002188/13.32, allocations: 415.7 kB / 5.483 GB, free: 20.85 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/13.32, allocations: 1.473 MB / 5.484 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/13.33, allocations: 2.223 MB / 5.487 GB, free: 16.88 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/13.33, allocations: 1.953 MB / 5.488 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/13.33, allocations: 4 kB / 5.488 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.006725/13.34, allocations: 4.309 MB / 5.493 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001365/13.34, allocations: 5.203 MB / 5.498 GB, free: 5.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/13.34, allocations: 12 kB / 5.498 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/13.34, allocations: 120.8 kB / 5.498 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/13.34, allocations: 0.6241 MB / 5.498 GB, free: 4.262 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/13.34, allocations: 2.784 MB / 5.501 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007435/13.35, allocations: 0.495 MB / 5.502 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000629/13.35, allocations: 116 kB / 5.502 GB, free: 0.7109 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/13.35, allocations: 4 kB / 5.502 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7139/14.06, allocations: 3.954 MB / 5.506 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.206e-05/14.06, allocations: 10.41 kB / 5.506 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/14.07, allocations: 125.1 kB / 5.506 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/14.07, allocations: 0.6121 MB / 5.506 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/14.07, allocations: 2.17 MB / 5.508 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006652/14.08, allocations: 491.6 kB / 5.509 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007046/14.08, allocations: 119 kB / 5.509 GB, free: 126.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005613/14.08, allocations: 2.151 MB / 5.511 GB, free: 125.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001705/14.09, allocations: 424 kB / 5.512 GB, free: 125.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008564/14.09, allocations: 4.12 MB / 5.516 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/14.09, allocations: 31.94 kB / 5.516 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/14.09, allocations: 1.5 kB / 5.516 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005791/14.1, allocations: 3.454 MB / 5.519 GB, free: 125.2 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/14.13, allocations: 10.45 MB / 5.529 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/14.13, allocations: 3.938 kB / 5.529 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/14.13, allocations: 0.629 MB / 5.53 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/14.13, allocations: 113.4 kB / 5.53 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/14.13, allocations: 80.31 kB / 5.53 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/14.13, allocations: 2.77 MB / 5.533 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/14.13, allocations: 6.891 kB / 5.533 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/14.14, allocations: 6.793 MB / 5.539 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004552/14.15, allocations: 1.059 MB / 5.54 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/14.15, allocations: 73.5 kB / 5.54 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00587/14.15, allocations: 444.7 kB / 5.541 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005274/14.15, allocations: 173.5 kB / 5.541 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004788/14.16, allocations: 114.2 kB / 5.541 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.008431/14.16, allocations: 3.09 MB / 5.544 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.61e-07/14.16, allocations: 2.094 kB / 5.544 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01707/14.18, allocations: 2.742 MB / 5.547 GB, free: 120.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02043/14.2, allocations: 10.86 MB / 5.557 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01183/14.21, allocations: 6.129 MB / 5.563 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/14.21, allocations: 3.781 kB / 5.563 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004871/14.22, allocations: 2.052 MB / 5.565 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02008/14.24, allocations: 2.796 MB / 5.568 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04238/14.28, allocations: 28.98 MB / 5.596 GB, free: 96.92 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007035/14.29, allocations: 4.031 MB / 5.6 GB, free: 96.09 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01058/14.3, allocations: 2.392 MB / 5.603 GB, free: 96.05 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005985/14.3, allocations: 2.086 MB / 5.605 GB, free: 96.04 MB / 0.9948 GB Notification: Performance of SimCode: time 1.673e-06/14.3, allocations: 0 / 5.605 GB, free: 96.04 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2647/14.57, allocations: 174.6 MB / 5.775 GB, free: 55.27 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/14.57, allocations: 284.6 kB / 5.776 GB, free: 54.91 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/21.4, allocations: 0 / 5.776 GB, free: 54.91 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)