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.272/2.272, 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.001107/0.001107, allocations: 173 kB / 491.2 MB, free: 1.578 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.609/1.609, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009748/0.0009748, allocations: 83.97 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.175e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3078, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.874/6.182, allocations: 2.195 GB / 3.408 GB, free: 105 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/6.182, allocations: 87.95 kB / 3.408 GB, free: 104.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.79/9.972, allocations: 0.9161 GB / 4.324 GB, free: 52.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.124e-06/9.972, allocations: 0 / 4.324 GB, free: 52.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001228/9.972, allocations: 43.92 kB / 4.324 GB, free: 52.94 MB / 1.151 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.005603/9.978, allocations: 1.949 MB / 4.326 GB, free: 50.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/9.978, allocations: 12.03 kB / 4.326 GB, free: 50.92 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/9.981, allocations: 0.525 MB / 4.326 GB, free: 50.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/9.984, allocations: 1.224 MB / 4.328 GB, free: 49.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005733/9.985, allocations: 169.8 kB / 4.328 GB, free: 48.95 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/9.985, allocations: 56 kB / 4.328 GB, free: 48.89 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001472/9.986, allocations: 0.9294 MB / 4.329 GB, free: 47.96 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/9.988, allocations: 1.031 MB / 4.33 GB, free: 46.91 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/9.988, allocations: 7.938 kB / 4.33 GB, free: 46.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/9.988, allocations: 0 / 4.33 GB, free: 46.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/9.988, allocations: 41.98 kB / 4.33 GB, free: 46.86 MB / 1.151 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.008091/9.996, allocations: 4.914 MB / 4.335 GB, free: 41.64 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/9.997, allocations: 0.8105 MB / 4.335 GB, free: 40.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/9.998, allocations: 451.4 kB / 4.336 GB, free: 40.36 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009561/9.999, allocations: 0.839 MB / 4.337 GB, free: 39.36 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000734/9.999, allocations: 0.6038 MB / 4.337 GB, free: 38.72 MB / 1.151 GB Notification: Performance of pre-optimization done (n=84): time 3.887e-06/9.999, allocations: 0 / 4.337 GB, free: 38.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.002636/10, allocations: 1.131 MB / 4.338 GB, free: 37.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/10, allocations: 145.2 kB / 4.339 GB, free: 37.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/10, allocations: 0.7384 MB / 4.339 GB, free: 36.66 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.44e-05/10, allocations: 29.7 kB / 4.339 GB, free: 36.62 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/10, allocations: 0.5315 MB / 4.34 GB, free: 36.08 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/10, allocations: 268 kB / 4.34 GB, free: 35.82 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/10, allocations: 0 / 4.34 GB, free: 35.82 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/10, allocations: 349.9 kB / 4.34 GB, free: 35.47 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/10, allocations: 382.5 kB / 4.341 GB, free: 35.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/10, allocations: 0.5924 MB / 4.341 GB, free: 34.43 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/10.01, allocations: 0.5405 MB / 4.342 GB, free: 33.89 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/10.01, allocations: 4 kB / 4.342 GB, free: 33.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002376/10.01, allocations: 1.285 MB / 4.343 GB, free: 32.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002969/10.01, allocations: 1.196 MB / 4.344 GB, free: 31.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/10.01, allocations: 7.938 kB / 4.344 GB, free: 31.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/10.01, allocations: 11.95 kB / 4.344 GB, free: 31.28 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/10.01, allocations: 267.6 kB / 4.345 GB, free: 31.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/10.01, allocations: 15.98 kB / 4.345 GB, free: 31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/10.01, allocations: 183.1 kB / 4.345 GB, free: 30.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/10.01, allocations: 55.97 kB / 4.345 GB, free: 30.77 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/10.01, allocations: 4 kB / 4.345 GB, free: 30.76 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002233/10.01, allocations: 1.167 MB / 4.346 GB, free: 29.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/10.01, allocations: 4 kB / 4.346 GB, free: 29.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/10.01, allocations: 8.344 kB / 4.346 GB, free: 29.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/10.02, allocations: 271.6 kB / 4.346 GB, free: 29.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/10.02, allocations: 8 kB / 4.346 GB, free: 29.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/10.02, allocations: 171.2 kB / 4.346 GB, free: 29.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/10.02, allocations: 51.97 kB / 4.346 GB, free: 29.09 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 15 ($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_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * 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.0003384/10.02, allocations: 198 kB / 4.347 GB, free: 28.88 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002205/10.02, allocations: 1.126 MB / 4.348 GB, free: 27.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/10.02, allocations: 126.6 kB / 4.348 GB, free: 27.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/10.02, allocations: 1.265 MB / 4.349 GB, free: 26.34 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/10.02, allocations: 12 kB / 4.349 GB, free: 26.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/10.02, allocations: 3.938 kB / 4.349 GB, free: 26.33 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/10.02, allocations: 3.984 kB / 4.349 GB, free: 26.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/10.03, allocations: 2.705 MB / 4.352 GB, free: 23.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/10.03, allocations: 0 / 4.352 GB, free: 23.53 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009903/10.03, allocations: 204.1 kB / 4.352 GB, free: 23.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/10.03, allocations: 12 kB / 4.352 GB, free: 23.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/10.03, allocations: 27.97 kB / 4.352 GB, free: 23.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/10.03, allocations: 7.938 kB / 4.352 GB, free: 23.29 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/10.03, allocations: 4 kB / 4.352 GB, free: 23.28 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/10.03, allocations: 2.123 MB / 4.354 GB, free: 21.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/10.03, allocations: 343.2 kB / 4.354 GB, free: 20.68 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/10.03, allocations: 15.98 kB / 4.354 GB, free: 20.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/10.03, allocations: 135.8 kB / 4.355 GB, free: 20.53 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/10.03, allocations: 64.38 kB / 4.355 GB, free: 20.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.472e-05/10.03, allocations: 47.97 kB / 4.355 GB, free: 20.42 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007352/10.03, allocations: 0.5656 MB / 4.355 GB, free: 19.85 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/10.03, allocations: 0 / 4.355 GB, free: 19.85 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002964/10.04, allocations: 0.9396 MB / 4.356 GB, free: 18.91 MB / 1.151 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.007222/10.04, allocations: 5.824 MB / 4.362 GB, free: 12.89 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002545/10.05, allocations: 1.835 MB / 4.364 GB, free: 11.01 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/10.05, allocations: 4 kB / 4.364 GB, free: 11.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007108/10.05, allocations: 0.6274 MB / 4.364 GB, free: 10.36 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/10.05, allocations: 421.6 kB / 4.365 GB, free: 9.949 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/10.06, allocations: 2.077 MB / 4.367 GB, free: 7.781 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/10.06, allocations: 1.185 MB / 4.368 GB, free: 6.57 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002298/10.06, allocations: 403.8 kB / 4.368 GB, free: 6.172 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/10.06, allocations: 471.2 kB / 4.369 GB, free: 5.711 MB / 1.151 GB Notification: Performance of SimCode: time 1.422e-06/10.06, allocations: 0 / 4.369 GB, free: 5.711 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9002/10.96, allocations: 46.92 MB / 4.414 GB, free: 212.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/10.96, allocations: 203.8 kB / 4.415 GB, free: 211.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.836/14.8, allocations: 0 / 4.415 GB, free: 211.8 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