Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.447/2.447, allocations: 390.3 MB / 402.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001872, allocations: 188.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.3 MB / 0.7915 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009765, allocations: 91.95 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.843e-05/3.845e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2969, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.876/6.173, allocations: 2.209 GB / 3.428 GB, free: 77.35 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/6.173, allocations: 90.95 kB / 3.428 GB, free: 77.27 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.593/14.77, allocations: 2.09 GB / 5.518 GB, free: 178.1 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.264e-06/14.77, allocations: 2.75 kB / 5.518 GB, free: 178.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001322/14.77, allocations: 133.3 kB / 5.518 GB, free: 178.1 MB / 1.198 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.0238/14.79, allocations: 5.228 MB / 5.523 GB, free: 176 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/14.79, allocations: 10.5 kB / 5.523 GB, free: 176 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002722/14.79, allocations: 0.5499 MB / 5.524 GB, free: 175.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/14.8, allocations: 1.237 MB / 5.525 GB, free: 175.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01946/14.82, allocations: 6.771 MB / 5.532 GB, free: 174.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/14.82, allocations: 302.4 kB / 5.532 GB, free: 174.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/14.83, allocations: 412 kB / 5.532 GB, free: 174.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/14.84, allocations: 5.524 MB / 5.538 GB, free: 174.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/14.84, allocations: 11.72 kB / 5.538 GB, free: 174.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005656/14.84, allocations: 164.5 kB / 5.538 GB, free: 174.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002169/14.84, allocations: 193.6 kB / 5.538 GB, free: 174.5 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/14.85, allocations: 4.804 MB / 5.543 GB, free: 174.4 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.04637/14.9, allocations: 24.13 MB / 5.566 GB, free: 162 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005305/14.9, allocations: 3.57 MB / 5.57 GB, free: 160.2 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/14.91, allocations: 2.13 MB / 5.572 GB, free: 159.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/14.91, allocations: 0.9985 MB / 5.573 GB, free: 158.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00286/14.91, allocations: 1.885 MB / 5.575 GB, free: 157.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=273): time 5.51e-06/14.91, allocations: 0 / 5.575 GB, free: 157.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=277): time 0.01935/14.93, allocations: 8.33 MB / 5.583 GB, free: 153.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/14.93, allocations: 141.8 kB / 5.583 GB, free: 153.8 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007386/14.94, allocations: 3.898 MB / 5.587 GB, free: 152.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008162/14.94, allocations: 79.08 kB / 5.587 GB, free: 152.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002685/14.94, allocations: 2.24 MB / 5.589 GB, free: 150.6 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/14.94, allocations: 0.9474 MB / 5.59 GB, free: 149.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/14.94, allocations: 57.06 kB / 5.59 GB, free: 149.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002004/14.94, allocations: 418.9 kB / 5.59 GB, free: 149.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/14.94, allocations: 1.474 MB / 5.592 GB, free: 149 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/14.95, allocations: 2.125 MB / 5.594 GB, free: 147.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/14.95, allocations: 1.944 MB / 5.596 GB, free: 147 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/14.95, allocations: 3.875 kB / 5.596 GB, free: 147 MB / 1.198 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007464/14.96, allocations: 4.314 MB / 5.6 GB, free: 144.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001403/14.96, allocations: 5.207 MB / 5.605 GB, free: 138.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/14.96, allocations: 12 kB / 5.605 GB, free: 138.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/14.96, allocations: 124.3 kB / 5.605 GB, free: 138.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/14.96, allocations: 0.6311 MB / 5.606 GB, free: 138.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/14.96, allocations: 2.743 MB / 5.609 GB, free: 135.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006612/14.97, allocations: 0.5127 MB / 5.609 GB, free: 135.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006134/14.97, allocations: 115.5 kB / 5.609 GB, free: 135.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/14.97, allocations: 4 kB / 5.609 GB, free: 135 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007887/14.98, allocations: 3.956 MB / 5.613 GB, free: 131.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-05/14.98, allocations: 12 kB / 5.613 GB, free: 131.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/14.98, allocations: 125.5 kB / 5.613 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/14.98, allocations: 0.6137 MB / 5.614 GB, free: 130.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/14.99, allocations: 2.136 MB / 5.616 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006452/14.99, allocations: 0.4979 MB / 5.616 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005591/14.99, allocations: 119.5 kB / 5.616 GB, free: 128.4 MB / 1.198 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 () * 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.001273/14.99, allocations: 352.3 kB / 5.617 GB, free: 128 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/15, allocations: 430.1 kB / 5.617 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009215/15, allocations: 4.126 MB / 5.621 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.534e-05/15, allocations: 35.94 kB / 5.621 GB, free: 124 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/15, allocations: 0 / 5.621 GB, free: 124 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005486/15.01, allocations: 3.472 MB / 5.625 GB, free: 120.9 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.03717/15.05, allocations: 10.53 MB / 5.635 GB, free: 111 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/15.05, allocations: 4 kB / 5.635 GB, free: 111 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/15.05, allocations: 0.6175 MB / 5.636 GB, free: 110.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/15.05, allocations: 105 kB / 5.636 GB, free: 110.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005519/15.05, allocations: 87.95 kB / 5.636 GB, free: 110.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/15.05, allocations: 2.721 MB / 5.638 GB, free: 107.3 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/15.05, allocations: 7.938 kB / 5.638 GB, free: 107.3 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/15.06, allocations: 6.563 MB / 5.645 GB, free: 100.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004471/15.07, allocations: 1.062 MB / 5.646 GB, free: 99.43 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001959/15.07, allocations: 75.98 kB / 5.646 GB, free: 99.35 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005596/15.08, allocations: 458.3 kB / 5.646 GB, free: 98.93 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/15.08, allocations: 171.4 kB / 5.647 GB, free: 98.77 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004451/15.08, allocations: 112 kB / 5.647 GB, free: 98.66 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.007373/15.09, allocations: 3.075 MB / 5.65 GB, free: 95.57 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.31e-07/15.09, allocations: 3.5 kB / 5.65 GB, free: 95.57 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.0157/15.1, allocations: 2.734 MB / 5.652 GB, free: 92.84 MB / 1.198 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.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,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) * 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.01862/15.12, allocations: 10.62 MB / 5.663 GB, free: 82.34 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01398/15.13, allocations: 6.255 MB / 5.669 GB, free: 75.98 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/15.13, allocations: 8 kB / 5.669 GB, free: 75.97 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003274/15.14, allocations: 2.06 MB / 5.671 GB, free: 73.87 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01549/15.15, allocations: 2.778 MB / 5.673 GB, free: 71.21 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03326/15.19, allocations: 11.92 MB / 5.685 GB, free: 59.25 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005993/15.19, allocations: 4.05 MB / 5.689 GB, free: 55.16 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01429/15.21, allocations: 3.985 MB / 5.693 GB, free: 51.24 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005026/15.21, allocations: 2.026 MB / 5.695 GB, free: 49.21 MB / 1.198 GB Notification: Performance of SimCode: time 1.583e-06/15.21, allocations: 0 / 5.695 GB, free: 49.21 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.302/16.51, allocations: 187.9 MB / 5.878 GB, free: 189.8 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/16.51, allocations: 239.8 kB / 5.879 GB, free: 189.5 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.36/25.87, allocations: 4 kB / 5.879 GB, free: 189.5 MB / 1.214 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat does not exist to compare? outputFormat=mat