Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.219/2.219, 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.00114/0.00114, allocations: 177.8 kB / 498.1 MB, free: 5.746 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.602/1.602, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.000922/0.0009219, allocations: 102.3 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 7 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3288, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.997/5.325, allocations: 2.195 GB / 3.418 GB, free: 236.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/5.326, allocations: 92.3 kB / 3.418 GB, free: 236.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.012/8.337, allocations: 0.9263 GB / 4.344 GB, free: 204 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.743e-06/8.338, allocations: 3.938 kB / 4.344 GB, free: 204 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001129/8.338, allocations: 43.92 kB / 4.344 GB, free: 203.9 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.005888/8.344, allocations: 2.181 MB / 4.347 GB, free: 201.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/8.344, allocations: 9.359 kB / 4.347 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/8.344, allocations: 139.7 kB / 4.347 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/8.347, allocations: 0.5211 MB / 4.347 GB, free: 201 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/8.35, allocations: 1.239 MB / 4.348 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005978/8.35, allocations: 197.9 kB / 4.349 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/8.35, allocations: 100 kB / 4.349 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/8.353, allocations: 1.293 MB / 4.35 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/8.353, allocations: 0 / 4.35 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-05/8.353, allocations: 36 kB / 4.35 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/8.353, allocations: 45.97 kB / 4.35 GB, free: 198 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/8.355, allocations: 1.28 MB / 4.351 GB, free: 196.7 MB / 1.167 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.008174/8.364, allocations: 5.1 MB / 4.356 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/8.366, allocations: 1.089 MB / 4.357 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009451/8.367, allocations: 0.8427 MB / 4.358 GB, free: 189.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/8.368, allocations: 0.7273 MB / 4.359 GB, free: 188.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 2.945e-06/8.369, allocations: 0 / 4.359 GB, free: 188.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.004516/8.373, allocations: 2.034 MB / 4.361 GB, free: 186.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/8.373, allocations: 119.4 kB / 4.361 GB, free: 186.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/8.375, allocations: 0.9032 MB / 4.362 GB, free: 185.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/8.375, allocations: 45.7 kB / 4.362 GB, free: 185.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/8.376, allocations: 0.5282 MB / 4.362 GB, free: 184.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/8.376, allocations: 276 kB / 4.363 GB, free: 184.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/8.376, allocations: 24 kB / 4.363 GB, free: 184.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001127/8.376, allocations: 345.9 kB / 4.363 GB, free: 184.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/8.377, allocations: 0.5328 MB / 4.363 GB, free: 183.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/8.379, allocations: 0.7531 MB / 4.364 GB, free: 182.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/8.38, allocations: 0.6231 MB / 4.365 GB, free: 182.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/8.38, allocations: 0 / 4.365 GB, free: 182.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00327/8.383, allocations: 1.573 MB / 4.366 GB, free: 180.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002586/8.383, allocations: 1.116 MB / 4.367 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/8.383, allocations: 3.984 kB / 4.367 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/8.384, allocations: 8 kB / 4.367 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/8.385, allocations: 271.6 kB / 4.368 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/8.385, allocations: 8 kB / 4.368 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/8.386, allocations: 214.8 kB / 4.368 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/8.387, allocations: 55.97 kB / 4.368 GB, free: 178.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/8.387, allocations: 4.781 kB / 4.368 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002979/8.39, allocations: 1.483 MB / 4.369 GB, free: 177.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/8.39, allocations: 8.031 kB / 4.369 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/8.39, allocations: 8.094 kB / 4.369 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/8.391, allocations: 267.6 kB / 4.37 GB, free: 177 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/8.391, allocations: 11.98 kB / 4.37 GB, free: 177 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/8.392, allocations: 207 kB / 4.37 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/8.392, allocations: 55.97 kB / 4.37 GB, free: 176.7 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 () * Number of clocked 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.0007915/8.393, allocations: 464.2 kB / 4.37 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/8.394, allocations: 134.4 kB / 4.371 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/8.397, allocations: 1.583 MB / 4.372 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/8.397, allocations: 15.94 kB / 4.372 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/8.397, allocations: 0 / 4.372 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/8.397, allocations: 7.938 kB / 4.372 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/8.402, allocations: 3.061 MB / 4.375 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/8.402, allocations: 8.062 kB / 4.375 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009703/8.403, allocations: 203.7 kB / 4.375 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/8.403, allocations: 4 kB / 4.375 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/8.403, allocations: 35.98 kB / 4.375 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/8.403, allocations: 11.92 kB / 4.375 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/8.403, allocations: 4 kB / 4.375 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/8.407, allocations: 2.566 MB / 4.378 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/8.408, allocations: 367.1 kB / 4.378 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/8.408, allocations: 24 kB / 4.378 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/8.409, allocations: 135.8 kB / 4.378 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/8.409, allocations: 76.36 kB / 4.378 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.373e-05/8.409, allocations: 47.97 kB / 4.378 GB, free: 167.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008847/8.41, allocations: 0.6971 MB / 4.379 GB, free: 167 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/8.41, allocations: 0 / 4.379 GB, free: 167 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003358/8.414, allocations: 1.01 MB / 4.38 GB, free: 166 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: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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.008736/8.422, allocations: 6.069 MB / 4.386 GB, free: 159.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004772/8.427, allocations: 2.313 MB / 4.388 GB, free: 157.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/8.427, allocations: 0 / 4.388 GB, free: 157.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/8.429, allocations: 0.8035 MB / 4.389 GB, free: 156.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/8.432, allocations: 0.4996 MB / 4.39 GB, free: 156 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007668/8.439, allocations: 5.263 MB / 4.395 GB, free: 150.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000837/8.44, allocations: 1.176 MB / 4.396 GB, free: 149.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001863/8.442, allocations: 380.8 kB / 4.396 GB, free: 149.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007469/8.443, allocations: 495.2 kB / 4.397 GB, free: 148.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.182e-06/8.443, allocations: 0 / 4.397 GB, free: 148.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08442/8.527, allocations: 62.44 MB / 4.458 GB, free: 86.57 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/8.527, allocations: 246.5 kB / 4.458 GB, free: 86.33 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.176/12.7, allocations: 5.328 kB / 4.458 GB, free: 86.33 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat does not exist to compare? outputFormat=mat