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.519/2.519, allocations: 390.5 MB / 398 MB, free: 10.98 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.001331/0.001331, allocations: 176.1 kB / 491.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001143/0.001143, allocations: 99.77 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.952e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2921, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.872/6.164, allocations: 2.208 GB / 3.421 GB, free: 68.53 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/6.165, allocations: 92.12 kB / 3.421 GB, free: 68.48 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 9.262/15.43, allocations: 2.072 GB / 5.493 GB, free: 181.1 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.205e-06/15.43, allocations: 0 / 5.493 GB, free: 181.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001492/15.43, allocations: 132.6 kB / 5.493 GB, free: 181.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.02774/15.46, allocations: 5.225 MB / 5.498 GB, free: 179 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.525e-05/15.46, allocations: 10 kB / 5.498 GB, free: 179 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/15.47, allocations: 1.236 MB / 5.499 GB, free: 178.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02476/15.49, allocations: 6.78 MB / 5.506 GB, free: 177.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/15.49, allocations: 127 kB / 5.506 GB, free: 177.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002629/15.5, allocations: 238.6 kB / 5.506 GB, free: 177.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01381/15.51, allocations: 4.472 MB / 5.511 GB, free: 177.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/15.53, allocations: 4.972 MB / 5.516 GB, free: 177.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003359/15.53, allocations: 2.969 kB / 5.516 GB, free: 177.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001942/15.53, allocations: 9.391 kB / 5.516 GB, free: 177.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000294/15.53, allocations: 191.9 kB / 5.516 GB, free: 177.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.05027/15.58, allocations: 23.36 MB / 5.539 GB, free: 164.3 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006817/15.59, allocations: 4.499 MB / 5.543 GB, free: 161.4 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/15.59, allocations: 2.017 MB / 5.545 GB, free: 160.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/15.59, allocations: 1.001 MB / 5.546 GB, free: 159.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003783/15.6, allocations: 1.871 MB / 5.548 GB, free: 158.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=272): time 1.249e-05/15.6, allocations: 0 / 5.548 GB, free: 158.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=276): time 0.03154/15.63, allocations: 9.346 MB / 5.557 GB, free: 154.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/15.63, allocations: 183.4 kB / 5.557 GB, free: 154.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/15.64, allocations: 3.605 MB / 5.561 GB, free: 152.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001155/15.64, allocations: 36.8 kB / 5.561 GB, free: 152.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004002/15.65, allocations: 2.238 MB / 5.563 GB, free: 150.8 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002242/15.65, allocations: 0.9089 MB / 5.564 GB, free: 150 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006304/15.65, allocations: 0 / 5.564 GB, free: 150 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0003915/15.65, allocations: 420.8 kB / 5.564 GB, free: 149.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002787/15.65, allocations: 1.373 MB / 5.565 GB, free: 148.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/15.65, allocations: 2.014 MB / 5.567 GB, free: 146.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004363/15.66, allocations: 1.912 MB / 5.569 GB, free: 144.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/15.66, allocations: 4 kB / 5.569 GB, free: 144.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.00929/15.67, allocations: 4.043 MB / 5.573 GB, free: 141.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001608/15.67, allocations: 5.362 MB / 5.578 GB, free: 135.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/15.67, allocations: 15.95 kB / 5.578 GB, free: 135.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/15.67, allocations: 124.8 kB / 5.579 GB, free: 135.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/15.67, allocations: 0.6282 MB / 5.579 GB, free: 135 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/15.68, allocations: 2.687 MB / 5.582 GB, free: 132.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006373/15.68, allocations: 464.9 kB / 5.582 GB, free: 132 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000709/15.68, allocations: 111.7 kB / 5.582 GB, free: 131.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/15.68, allocations: 7.953 kB / 5.582 GB, free: 131.9 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008381/15.69, allocations: 3.638 MB / 5.586 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-05/15.69, allocations: 12 kB / 5.586 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000409/15.69, allocations: 121.1 kB / 5.586 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/15.69, allocations: 0.6204 MB / 5.587 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/15.7, allocations: 2.065 MB / 5.589 GB, free: 126.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/15.7, allocations: 445 kB / 5.589 GB, free: 125.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007451/15.7, allocations: 129.6 kB / 5.589 GB, free: 125.8 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.001495/15.71, allocations: 252.2 kB / 5.589 GB, free: 125.5 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009748/15.72, allocations: 3.474 MB / 5.593 GB, free: 122.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/15.72, allocations: 422 kB / 5.593 GB, free: 122 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008879/15.73, allocations: 3.815 MB / 5.597 GB, free: 118.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/15.73, allocations: 31.95 kB / 5.597 GB, free: 118.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/15.73, allocations: 0 / 5.597 GB, free: 118.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005509/15.73, allocations: 3.237 MB / 5.6 GB, free: 115.7 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.02444/15.76, allocations: 9.817 MB / 5.61 GB, free: 105.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/15.76, allocations: 4 kB / 5.61 GB, free: 105.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/15.76, allocations: 0.6124 MB / 5.61 GB, free: 105.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/15.76, allocations: 117 kB / 5.61 GB, free: 105 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004521/15.76, allocations: 47.97 kB / 5.611 GB, free: 104.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/15.76, allocations: 2.654 MB / 5.613 GB, free: 102.2 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/15.76, allocations: 8.062 kB / 5.613 GB, free: 102.2 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/15.77, allocations: 6.176 MB / 5.619 GB, free: 95.71 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004439/15.78, allocations: 1.046 MB / 5.62 GB, free: 94.64 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002006/15.78, allocations: 35.88 kB / 5.62 GB, free: 94.61 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005706/15.79, allocations: 411 kB / 5.621 GB, free: 94.21 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/15.79, allocations: 165.8 kB / 5.621 GB, free: 94.04 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000397/15.79, allocations: 111.9 kB / 5.621 GB, free: 93.93 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.006986/15.79, allocations: 2.805 MB / 5.624 GB, free: 91.12 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.01e-07/15.79, allocations: 0 / 5.624 GB, free: 91.12 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01509/15.81, allocations: 2.545 MB / 5.626 GB, free: 88.57 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (265): * Single equations (assignments): 257 * 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.01714/15.83, allocations: 10.42 MB / 5.636 GB, free: 78.15 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.0098/15.84, allocations: 5.846 MB / 5.642 GB, free: 72.21 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/15.84, allocations: 4 kB / 5.642 GB, free: 72.21 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/15.84, allocations: 1.924 MB / 5.644 GB, free: 70.25 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01646/15.86, allocations: 2.618 MB / 5.646 GB, free: 67.77 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/15.9, allocations: 11.63 MB / 5.658 GB, free: 56.13 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008143/15.9, allocations: 4.049 MB / 5.662 GB, free: 52.04 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01366/15.92, allocations: 3.954 MB / 5.666 GB, free: 48.17 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004749/15.92, allocations: 2.038 MB / 5.668 GB, free: 46.13 MB / 1.198 GB Notification: Performance of SimCode: time 1.973e-06/15.92, allocations: 0 / 5.668 GB, free: 46.13 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.227/17.15, allocations: 153.2 MB / 5.817 GB, free: 173.5 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/17.15, allocations: 192.7 kB / 5.817 GB, free: 173.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/24.94, allocations: 0 / 5.817 GB, free: 173.3 MB / 1.198 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