Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.436/2.436, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001271/0.001271, allocations: 184.8 kB / 496.1 MB, free: 12.86 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.61/1.61, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001076/0.001076, allocations: 91.97 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.868e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3152, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.298/6.614, allocations: 2.196 GB / 3.415 GB, free: 68.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/6.614, allocations: 87.95 kB / 3.415 GB, free: 68.42 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.509/10.12, allocations: 0.925 GB / 4.34 GB, free: 38.01 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.404e-06/10.12, allocations: 7.938 kB / 4.34 GB, free: 38 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001132/10.12, allocations: 39.92 kB / 4.34 GB, free: 37.96 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005558/10.13, allocations: 1.945 MB / 4.342 GB, free: 35.96 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/10.13, allocations: 16.03 kB / 4.342 GB, free: 35.95 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/10.13, allocations: 131.7 kB / 4.342 GB, free: 35.81 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/10.13, allocations: 0.5211 MB / 4.343 GB, free: 35.29 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/10.14, allocations: 1.223 MB / 4.344 GB, free: 34 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006217/10.14, allocations: 205.9 kB / 4.344 GB, free: 33.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/10.14, allocations: 100 kB / 4.344 GB, free: 33.71 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/10.14, allocations: 1.152 MB / 4.345 GB, free: 32.53 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/10.14, allocations: 0 / 4.345 GB, free: 32.53 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/10.14, allocations: 36 kB / 4.345 GB, free: 32.49 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/10.14, allocations: 41.98 kB / 4.345 GB, free: 32.45 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/10.14, allocations: 1.011 MB / 4.346 GB, free: 31.44 MB / 1.167 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.00783/10.15, allocations: 5.127 MB / 4.351 GB, free: 26 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/10.15, allocations: 0.771 MB / 4.352 GB, free: 25.22 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/10.15, allocations: 472.9 kB / 4.352 GB, free: 24.75 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009374/10.15, allocations: 0.835 MB / 4.353 GB, free: 23.75 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007601/10.15, allocations: 0.6099 MB / 4.354 GB, free: 23.12 MB / 1.167 GB Notification: Performance of pre-optimization done (n=84): time 3.586e-06/10.15, allocations: 0 / 4.354 GB, free: 23.12 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.001941/10.15, allocations: 1.103 MB / 4.355 GB, free: 21.99 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/10.15, allocations: 115.6 kB / 4.355 GB, free: 21.86 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/10.15, allocations: 0.8969 MB / 4.356 GB, free: 20.95 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.015e-05/10.15, allocations: 49.64 kB / 4.356 GB, free: 20.89 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/10.15, allocations: 0.536 MB / 4.356 GB, free: 20.35 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/10.15, allocations: 276 kB / 4.357 GB, free: 20.07 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/10.15, allocations: 16 kB / 4.357 GB, free: 20.06 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/10.15, allocations: 341.9 kB / 4.357 GB, free: 19.72 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/10.16, allocations: 409.9 kB / 4.357 GB, free: 19.32 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/10.16, allocations: 0.61 MB / 4.358 GB, free: 18.64 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/10.16, allocations: 0.496 MB / 4.359 GB, free: 18.13 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/10.16, allocations: 0 / 4.359 GB, free: 18.13 MB / 1.167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001888/10.16, allocations: 1.295 MB / 4.36 GB, free: 16.82 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002833/10.16, allocations: 1.127 MB / 4.361 GB, free: 15.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/10.16, allocations: 4 kB / 4.361 GB, free: 15.59 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/10.16, allocations: 8 kB / 4.361 GB, free: 15.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/10.16, allocations: 267.6 kB / 4.361 GB, free: 15.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/10.16, allocations: 8 kB / 4.361 GB, free: 15.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/10.16, allocations: 218.9 kB / 4.361 GB, free: 15.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/10.16, allocations: 55.95 kB / 4.361 GB, free: 15.05 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/10.16, allocations: 4 kB / 4.361 GB, free: 15.04 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/10.16, allocations: 1.201 MB / 4.363 GB, free: 13.83 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/10.16, allocations: 4 kB / 4.363 GB, free: 13.83 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/10.16, allocations: 8 kB / 4.363 GB, free: 13.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/10.16, allocations: 271.9 kB / 4.363 GB, free: 13.55 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/10.16, allocations: 4 kB / 4.363 GB, free: 13.55 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/10.17, allocations: 214.9 kB / 4.363 GB, free: 13.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/10.17, allocations: 51.97 kB / 4.363 GB, free: 13.29 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($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,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003105/10.17, allocations: 220.2 kB / 4.363 GB, free: 13.05 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/10.17, allocations: 130.4 kB / 4.363 GB, free: 12.93 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/10.17, allocations: 1.326 MB / 4.365 GB, free: 11.58 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/10.17, allocations: 12 kB / 4.365 GB, free: 11.57 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/10.17, allocations: 0 / 4.365 GB, free: 11.57 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/10.17, allocations: 7.984 kB / 4.365 GB, free: 11.56 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/10.17, allocations: 2.797 MB / 4.368 GB, free: 8.652 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/10.17, allocations: 8.031 kB / 4.368 GB, free: 8.645 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009615/10.17, allocations: 211.7 kB / 4.368 GB, free: 8.438 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/10.17, allocations: 11.98 kB / 4.368 GB, free: 8.426 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/10.17, allocations: 31.98 kB / 4.368 GB, free: 8.395 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/10.17, allocations: 4 kB / 4.368 GB, free: 8.391 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/10.17, allocations: 4 kB / 4.368 GB, free: 8.387 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/10.18, allocations: 2.169 MB / 4.37 GB, free: 6.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/10.18, allocations: 363.1 kB / 4.37 GB, free: 5.715 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/10.18, allocations: 28 kB / 4.37 GB, free: 5.688 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/10.18, allocations: 151.6 kB / 4.37 GB, free: 5.539 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/10.18, allocations: 60.44 kB / 4.37 GB, free: 5.477 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/10.18, allocations: 47.97 kB / 4.371 GB, free: 5.43 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009139/10.18, allocations: 0.6908 MB / 4.371 GB, free: 4.73 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/10.18, allocations: 0 / 4.371 GB, free: 4.73 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003167/10.18, allocations: 1.003 MB / 4.372 GB, free: 3.727 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.7505/10.93, allocations: 5.665 MB / 4.378 GB, free: 205.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003923/10.94, allocations: 1.938 MB / 4.38 GB, free: 205.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/10.94, allocations: 3.812 kB / 4.38 GB, free: 205.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/10.94, allocations: 0.6622 MB / 4.38 GB, free: 205.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/10.94, allocations: 0.5013 MB / 4.381 GB, free: 205.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/10.95, allocations: 2.165 MB / 4.383 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/10.95, allocations: 1.191 MB / 4.384 GB, free: 204 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002322/10.95, allocations: 440.3 kB / 4.384 GB, free: 204 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/10.95, allocations: 481.9 kB / 4.385 GB, free: 204 MB / 1.167 GB Notification: Performance of SimCode: time 2.084e-06/10.95, allocations: 0 / 4.385 GB, free: 204 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/11.1, allocations: 69.23 MB / 4.453 GB, free: 203.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/11.1, allocations: 223.5 kB / 4.453 GB, free: 203.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.764/15.87, allocations: 0 / 4.453 GB, free: 203.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat does not exist to compare? outputFormat=mat