Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001147/0.001147, allocations: 171.4 kB / 498.1 MB, free: 5.734 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.525/1.525, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.001092/0.001092, allocations: 100.2 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003846, allocations: 8.531 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3113, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.683/5.994, allocations: 2.222 GB / 3.445 GB, free: 167.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/5.994, allocations: 96.33 kB / 3.445 GB, free: 167.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.26/16.26, allocations: 2.722 GB / 6.167 GB, free: 169.6 MB / 1.229 GB Notification: Performance of FrontEnd: time 4.268e-06/16.26, allocations: 0 / 6.167 GB, free: 169.6 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.001609/16.26, allocations: 169.9 kB / 6.167 GB, free: 169.5 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.03511/16.29, allocations: 7.5 MB / 6.174 GB, free: 166.1 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/16.29, allocations: 10.75 kB / 6.174 GB, free: 166.1 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00425/16.3, allocations: 0.6601 MB / 6.175 GB, free: 165.8 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/16.31, allocations: 1.501 MB / 6.176 GB, free: 165.3 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02492/16.33, allocations: 7.516 MB / 6.183 GB, free: 160.8 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006353/16.34, allocations: 373 kB / 6.184 GB, free: 160.6 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002962/16.34, allocations: 495.3 kB / 6.184 GB, free: 160.5 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/16.36, allocations: 6.711 MB / 6.191 GB, free: 154.9 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003557/16.36, allocations: 15.84 kB / 6.191 GB, free: 154.8 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/16.36, allocations: 199.8 kB / 6.191 GB, free: 154.7 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000341/16.36, allocations: 221.4 kB / 6.191 GB, free: 154.4 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/16.38, allocations: 5.869 MB / 6.197 GB, free: 148.6 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.06203/16.44, allocations: 28.21 MB / 6.225 GB, free: 119.1 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007247/16.45, allocations: 4.529 MB / 6.229 GB, free: 114.4 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/16.45, allocations: 0.9233 MB / 6.23 GB, free: 113.3 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004731/16.46, allocations: 2.254 MB / 6.232 GB, free: 111 MB / 1.229 GB Notification: Performance of pre-optimization done (n=325): time 5.921e-06/16.46, allocations: 0 / 6.232 GB, free: 111 MB / 1.229 GB Notification: Performance of matching and sorting (n=329): time 0.03131/16.49, allocations: 11.9 MB / 6.244 GB, free: 98.92 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/16.49, allocations: 171.1 kB / 6.244 GB, free: 98.72 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/16.5, allocations: 4.58 MB / 6.248 GB, free: 94.14 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001095/16.5, allocations: 97.7 kB / 6.248 GB, free: 94.04 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.003892/16.5, allocations: 2.728 MB / 6.251 GB, free: 91.29 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.002026/16.51, allocations: 1.136 MB / 6.252 GB, free: 90.14 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000741/16.51, allocations: 64 kB / 6.252 GB, free: 90.07 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.000367/16.51, allocations: 448.8 kB / 6.253 GB, free: 89.63 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00345/16.51, allocations: 1.818 MB / 6.254 GB, free: 87.81 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/16.52, allocations: 2.639 MB / 6.257 GB, free: 84.88 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/16.52, allocations: 2.33 MB / 6.259 GB, free: 82.53 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/16.52, allocations: 4 kB / 6.259 GB, free: 82.52 MB / 1.229 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.01194/16.53, allocations: 5.222 MB / 6.264 GB, free: 77.25 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001346/16.53, allocations: 6.198 MB / 6.27 GB, free: 70.48 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/16.53, allocations: 12 kB / 6.27 GB, free: 70.47 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/16.53, allocations: 216.5 kB / 6.271 GB, free: 70.25 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/16.54, allocations: 0.7762 MB / 6.271 GB, free: 69.48 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/16.54, allocations: 3.449 MB / 6.275 GB, free: 65.84 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008014/16.55, allocations: 0.6198 MB / 6.275 GB, free: 65.22 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/16.55, allocations: 128 kB / 6.276 GB, free: 65.1 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/16.55, allocations: 4 kB / 6.276 GB, free: 65.09 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0108/16.56, allocations: 4.769 MB / 6.28 GB, free: 60.29 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.132e-05/16.56, allocations: 16 kB / 6.28 GB, free: 60.27 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/16.56, allocations: 210.2 kB / 6.28 GB, free: 60.06 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003594/16.56, allocations: 0.7606 MB / 6.281 GB, free: 59.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/16.57, allocations: 4.117 MB / 6.285 GB, free: 54.91 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007417/16.58, allocations: 0.5925 MB / 6.286 GB, free: 54.31 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009976/16.58, allocations: 132 kB / 6.286 GB, free: 54.18 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.006235/16.58, allocations: 2.415 MB / 6.288 GB, free: 51.75 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002535/16.59, allocations: 0.5053 MB / 6.289 GB, free: 51.24 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/16.6, allocations: 5.013 MB / 6.294 GB, free: 46.18 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-05/16.6, allocations: 35.98 kB / 6.294 GB, free: 46.14 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/16.6, allocations: 4 kB / 6.294 GB, free: 46.14 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006697/16.6, allocations: 4.199 MB / 6.298 GB, free: 41.86 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.03047/16.64, allocations: 12.3 MB / 6.31 GB, free: 29.34 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/16.64, allocations: 7.391 kB / 6.31 GB, free: 29.33 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0039/16.64, allocations: 0.7378 MB / 6.311 GB, free: 28.59 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000576/16.64, allocations: 169.5 kB / 6.311 GB, free: 28.42 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000662/16.64, allocations: 95.95 kB / 6.311 GB, free: 28.33 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/16.64, allocations: 3.355 MB / 6.314 GB, free: 24.79 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/16.64, allocations: 15.69 kB / 6.314 GB, free: 24.78 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/16.66, allocations: 7.911 MB / 6.322 GB, free: 16.61 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005153/16.66, allocations: 1.229 MB / 6.323 GB, free: 15.36 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002086/16.66, allocations: 83.97 kB / 6.323 GB, free: 15.27 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006154/16.67, allocations: 0.5028 MB / 6.324 GB, free: 14.77 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006348/16.67, allocations: 206 kB / 6.324 GB, free: 14.57 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005395/16.67, allocations: 127.9 kB / 6.324 GB, free: 14.45 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.007904/16.68, allocations: 3.609 MB / 6.327 GB, free: 10.85 MB / 1.229 GB Notification: Performance of sort global known variables: time 7.31e-07/16.68, allocations: 0 / 6.327 GB, free: 10.85 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.01772/16.7, allocations: 3.136 MB / 6.33 GB, free: 7.711 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.8628/17.56, allocations: 12.25 MB / 6.342 GB, free: 173 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01757/17.58, allocations: 7.353 MB / 6.35 GB, free: 172.5 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/17.58, allocations: 9.453 kB / 6.35 GB, free: 172.5 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.005683/17.58, allocations: 2.392 MB / 6.352 GB, free: 172.3 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01768/17.6, allocations: 3.045 MB / 6.355 GB, free: 172.2 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04523/17.64, allocations: 34.93 MB / 6.389 GB, free: 148.3 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005579/17.65, allocations: 4.665 MB / 6.394 GB, free: 147.4 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.009749/17.66, allocations: 2.702 MB / 6.396 GB, free: 147.4 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004481/17.66, allocations: 2.575 MB / 6.399 GB, free: 147.4 MB / 1.229 GB Notification: Performance of SimCode: time 1.493e-06/17.66, allocations: 1.062 kB / 6.399 GB, free: 147.4 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3082/17.97, allocations: 197.5 MB / 6.592 GB, free: 134.4 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/17.97, allocations: 276 kB / 6.592 GB, free: 134.1 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.913/26.89, allocations: 0 / 6.592 GB, free: 134.1 MB / 1.229 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat does not exist to compare? outputFormat=mat