Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",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.41/2.41, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001373/0.001373, allocations: 180 kB / 0.4901 GB, free: 2.215 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.476/1.476, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0009829/0.0009831, allocations: 108.6 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 11.28 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3062, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.325/5.632, allocations: 2.223 GB / 3.452 GB, free: 167.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/5.632, allocations: 99.33 kB / 3.452 GB, free: 167.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 11.58/17.21, allocations: 2.722 GB / 6.174 GB, free: 166.4 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.635e-06/17.21, allocations: 0 / 6.174 GB, free: 166.4 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.001588/17.21, allocations: 163.7 kB / 6.174 GB, free: 166.4 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.03283/17.25, allocations: 7.499 MB / 6.181 GB, free: 163.3 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/17.25, allocations: 7.125 kB / 6.181 GB, free: 163.3 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004383/17.25, allocations: 0.6729 MB / 6.182 GB, free: 163.2 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/17.26, allocations: 1.499 MB / 6.183 GB, free: 162.8 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02859/17.29, allocations: 7.527 MB / 6.191 GB, free: 161.8 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006689/17.29, allocations: 369.9 kB / 6.191 GB, free: 161.8 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/17.3, allocations: 499.2 kB / 6.191 GB, free: 161.8 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/17.32, allocations: 6.705 MB / 6.198 GB, free: 159.8 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002867/17.32, allocations: 7.703 kB / 6.198 GB, free: 159.8 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/17.32, allocations: 196.8 kB / 6.198 GB, free: 159.6 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003034/17.32, allocations: 226.6 kB / 6.198 GB, free: 159.6 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/17.34, allocations: 5.868 MB / 6.204 GB, free: 157.5 MB / 1.229 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.06213/17.4, allocations: 28.22 MB / 6.232 GB, free: 137.9 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007587/17.41, allocations: 4.526 MB / 6.236 GB, free: 134 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/17.41, allocations: 0.9205 MB / 6.237 GB, free: 132.9 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004958/17.41, allocations: 2.25 MB / 6.239 GB, free: 130.6 MB / 1.229 GB Notification: Performance of pre-optimization done (n=325): time 6.512e-06/17.41, allocations: 0 / 6.239 GB, free: 130.6 MB / 1.229 GB Notification: Performance of matching and sorting (n=329): time 0.02999/17.44, allocations: 11.91 MB / 6.251 GB, free: 118.6 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/17.44, allocations: 163.1 kB / 6.251 GB, free: 118.4 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/17.45, allocations: 4.588 MB / 6.255 GB, free: 113.8 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001179/17.45, allocations: 93.7 kB / 6.256 GB, free: 113.7 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.003536/17.46, allocations: 2.727 MB / 6.258 GB, free: 110.9 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.002123/17.46, allocations: 1.139 MB / 6.259 GB, free: 109.8 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/17.46, allocations: 64 kB / 6.259 GB, free: 109.7 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0002481/17.46, allocations: 440.8 kB / 6.26 GB, free: 109.3 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/17.46, allocations: 1.822 MB / 6.262 GB, free: 107.5 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/17.47, allocations: 2.647 MB / 6.264 GB, free: 104.6 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/17.47, allocations: 2.324 MB / 6.266 GB, free: 102.2 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/17.47, allocations: 4 kB / 6.266 GB, free: 102.2 MB / 1.229 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.009379/17.48, allocations: 5.225 MB / 6.272 GB, free: 96.98 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001409/17.48, allocations: 6.203 MB / 6.278 GB, free: 90.26 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.128e-05/17.48, allocations: 16 kB / 6.278 GB, free: 90.24 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/17.48, allocations: 214.8 kB / 6.278 GB, free: 90.03 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/17.49, allocations: 0.7649 MB / 6.279 GB, free: 89.27 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/17.49, allocations: 3.461 MB / 6.282 GB, free: 85.64 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007676/17.5, allocations: 0.6121 MB / 6.283 GB, free: 85.06 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000898/17.5, allocations: 136 kB / 6.283 GB, free: 84.93 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/17.5, allocations: 4 kB / 6.283 GB, free: 84.93 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007887/17.5, allocations: 4.766 MB / 6.287 GB, free: 80.14 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/17.51, allocations: 12 kB / 6.287 GB, free: 80.13 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/17.51, allocations: 212.8 kB / 6.288 GB, free: 79.92 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/17.51, allocations: 0.7708 MB / 6.288 GB, free: 79.15 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/17.51, allocations: 4.116 MB / 6.292 GB, free: 74.79 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007918/17.52, allocations: 0.5983 MB / 6.293 GB, free: 74.22 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009882/17.52, allocations: 128 kB / 6.293 GB, free: 74.09 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.006812/17.53, allocations: 2.41 MB / 6.295 GB, free: 71.67 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003285/17.53, allocations: 0.4961 MB / 6.296 GB, free: 71.17 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/17.55, allocations: 5.025 MB / 6.301 GB, free: 66.1 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/17.55, allocations: 35.36 kB / 6.301 GB, free: 66.07 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/17.55, allocations: 4 kB / 6.301 GB, free: 66.07 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006936/17.55, allocations: 4.188 MB / 6.305 GB, free: 61.82 MB / 1.229 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.02725/17.58, allocations: 12.29 MB / 6.317 GB, free: 49.38 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/17.58, allocations: 4 kB / 6.317 GB, free: 49.38 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/17.58, allocations: 0.7475 MB / 6.318 GB, free: 48.63 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004864/17.58, allocations: 165.5 kB / 6.318 GB, free: 48.46 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003182/17.58, allocations: 99.95 kB / 6.318 GB, free: 48.36 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/17.59, allocations: 3.363 MB / 6.321 GB, free: 44.83 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/17.59, allocations: 4 kB / 6.321 GB, free: 44.82 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/17.6, allocations: 7.913 MB / 6.329 GB, free: 36.66 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004728/17.6, allocations: 1.229 MB / 6.33 GB, free: 35.41 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/17.6, allocations: 79.98 kB / 6.33 GB, free: 35.33 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006328/17.61, allocations: 0.499 MB / 6.331 GB, free: 34.83 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006843/17.61, allocations: 206.1 kB / 6.331 GB, free: 34.62 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003988/17.61, allocations: 126.9 kB / 6.331 GB, free: 34.5 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.007449/17.62, allocations: 3.609 MB / 6.335 GB, free: 30.91 MB / 1.229 GB Notification: Performance of sort global known variables: time 3.6e-07/17.62, allocations: 0 / 6.335 GB, free: 30.91 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.01835/17.64, allocations: 3.128 MB / 6.338 GB, free: 27.78 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.s[1],val.filter.s[2],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,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01921/17.66, allocations: 12.27 MB / 6.35 GB, free: 15.51 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01529/17.67, allocations: 7.358 MB / 6.357 GB, free: 8.07 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/17.67, allocations: 1 kB / 6.357 GB, free: 8.07 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/17.68, allocations: 2.39 MB / 6.359 GB, free: 5.656 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01641/17.69, allocations: 3.04 MB / 6.362 GB, free: 2.762 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8291/18.52, allocations: 34.93 MB / 6.396 GB, free: 146.9 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008914/18.53, allocations: 4.67 MB / 6.401 GB, free: 146.1 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.01276/18.54, allocations: 2.699 MB / 6.403 GB, free: 146.1 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006388/18.55, allocations: 2.567 MB / 6.406 GB, free: 146.1 MB / 1.229 GB Notification: Performance of SimCode: time 2.344e-06/18.55, allocations: 0 / 6.406 GB, free: 146.1 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2973/18.85, allocations: 197.6 MB / 6.599 GB, free: 135.3 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/18.85, allocations: 277.7 kB / 6.599 GB, free: 135 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.097/27.95, allocations: 3.875 kB / 6.599 GB, free: 135 MB / 1.229 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat does not exist to compare? outputFormat=mat