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.196/2.196, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001006/0.001006, allocations: 176.9 kB / 487.4 MB, free: 5.062 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.434/1.434, allocations: 221.5 MB / 0.7824 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.000928, allocations: 95.72 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.992e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2718, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.636/5.908, allocations: 2.194 GB / 3.4 GB, free: 140.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/5.908, allocations: 84.8 kB / 3.4 GB, free: 140.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.327/9.235, allocations: 0.9161 GB / 4.316 GB, free: 93.29 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.054e-06/9.235, allocations: 0 / 4.316 GB, free: 93.29 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001158/9.235, allocations: 35.98 kB / 4.317 GB, free: 93.25 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.005159/9.241, allocations: 1.944 MB / 4.318 GB, free: 91.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/9.241, allocations: 16.03 kB / 4.318 GB, free: 91.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/9.243, allocations: 0.5211 MB / 4.319 GB, free: 90.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/9.246, allocations: 1.22 MB / 4.32 GB, free: 89.43 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005828/9.247, allocations: 169.9 kB / 4.32 GB, free: 89.27 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/9.247, allocations: 60 kB / 4.32 GB, free: 89.21 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001421/9.248, allocations: 0.9294 MB / 4.321 GB, free: 88.28 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/9.25, allocations: 1.035 MB / 4.322 GB, free: 87.21 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/9.25, allocations: 0 / 4.322 GB, free: 87.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/9.25, allocations: 4 kB / 4.322 GB, free: 87.21 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/9.25, allocations: 37.98 kB / 4.322 GB, free: 87.18 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.007477/9.257, allocations: 4.912 MB / 4.327 GB, free: 81.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/9.258, allocations: 0.8179 MB / 4.328 GB, free: 81.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/9.259, allocations: 452.9 kB / 4.328 GB, free: 80.67 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000929/9.26, allocations: 0.839 MB / 4.329 GB, free: 79.67 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006997/9.26, allocations: 0.6155 MB / 4.33 GB, free: 79.02 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 2.846e-06/9.26, allocations: 0 / 4.33 GB, free: 79.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.002524/9.263, allocations: 1.131 MB / 4.331 GB, free: 77.88 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/9.263, allocations: 141.3 kB / 4.331 GB, free: 77.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/9.264, allocations: 0.7343 MB / 4.332 GB, free: 76.96 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/9.264, allocations: 29.7 kB / 4.332 GB, free: 76.93 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/9.264, allocations: 0.5354 MB / 4.332 GB, free: 76.38 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/9.264, allocations: 264 kB / 4.333 GB, free: 76.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/9.264, allocations: 0 / 4.333 GB, free: 76.12 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/9.265, allocations: 346 kB / 4.333 GB, free: 75.78 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/9.265, allocations: 390.5 kB / 4.333 GB, free: 75.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/9.266, allocations: 0.5865 MB / 4.334 GB, free: 74.73 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/9.267, allocations: 0.5404 MB / 4.334 GB, free: 74.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/9.267, allocations: 0 / 4.334 GB, free: 74.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002262/9.269, allocations: 1.293 MB / 4.336 GB, free: 72.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002784/9.27, allocations: 1.204 MB / 4.337 GB, free: 71.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/9.27, allocations: 0 / 4.337 GB, free: 71.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/9.27, allocations: 8 kB / 4.337 GB, free: 71.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/9.271, allocations: 267.6 kB / 4.337 GB, free: 71.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/9.271, allocations: 8 kB / 4.337 GB, free: 71.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/9.272, allocations: 191 kB / 4.337 GB, free: 71.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/9.272, allocations: 55.91 kB / 4.337 GB, free: 71.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/9.272, allocations: 8 kB / 4.337 GB, free: 71.06 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002128/9.275, allocations: 1.175 MB / 4.338 GB, free: 69.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/9.275, allocations: 4 kB / 4.338 GB, free: 69.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/9.275, allocations: 8 kB / 4.338 GB, free: 69.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/9.276, allocations: 272 kB / 4.339 GB, free: 69.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/9.276, allocations: 8 kB / 4.339 GB, free: 69.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/9.277, allocations: 167.3 kB / 4.339 GB, free: 69.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/9.277, allocations: 51.97 kB / 4.339 GB, free: 69.39 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: 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.0002797/9.277, allocations: 196.1 kB / 4.339 GB, free: 69.18 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002018/9.28, allocations: 1.131 MB / 4.34 GB, free: 68.04 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/9.28, allocations: 118.6 kB / 4.34 GB, free: 67.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/9.282, allocations: 1.285 MB / 4.342 GB, free: 66.62 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/9.282, allocations: 8 kB / 4.342 GB, free: 66.62 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/9.282, allocations: 0 / 4.342 GB, free: 66.62 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/9.282, allocations: 3.984 kB / 4.342 GB, free: 66.61 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/9.286, allocations: 2.705 MB / 4.344 GB, free: 63.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/9.286, allocations: 4 kB / 4.344 GB, free: 63.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/9.287, allocations: 212.2 kB / 4.344 GB, free: 63.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/9.287, allocations: 7.984 kB / 4.344 GB, free: 63.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/9.287, allocations: 31.94 kB / 4.344 GB, free: 63.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/9.287, allocations: 11.94 kB / 4.344 GB, free: 63.56 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/9.288, allocations: 0 / 4.344 GB, free: 63.56 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/9.29, allocations: 2.124 MB / 4.347 GB, free: 61.32 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/9.291, allocations: 351.2 kB / 4.347 GB, free: 60.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/9.291, allocations: 12 kB / 4.347 GB, free: 60.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/9.292, allocations: 127.9 kB / 4.347 GB, free: 60.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/9.292, allocations: 64.38 kB / 4.347 GB, free: 60.75 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.455e-05/9.293, allocations: 51.97 kB / 4.347 GB, free: 60.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006619/9.293, allocations: 0.5537 MB / 4.348 GB, free: 60.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.22e-07/9.293, allocations: 0 / 4.348 GB, free: 60.14 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002749/9.296, allocations: 0.9435 MB / 4.349 GB, free: 59.2 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: 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) * 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.006716/9.303, allocations: 5.836 MB / 4.354 GB, free: 53.17 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002414/9.305, allocations: 1.848 MB / 4.356 GB, free: 51.27 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/9.305, allocations: 0 / 4.356 GB, free: 51.27 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/9.306, allocations: 0.6453 MB / 4.357 GB, free: 50.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/9.308, allocations: 424.8 kB / 4.357 GB, free: 50.19 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/9.313, allocations: 2.074 MB / 4.359 GB, free: 48.03 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/9.313, allocations: 1.185 MB / 4.36 GB, free: 46.82 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001836/9.315, allocations: 403.8 kB / 4.361 GB, free: 46.42 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/9.316, allocations: 479.2 kB / 4.361 GB, free: 45.95 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/9.316, allocations: 0 / 4.361 GB, free: 45.95 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07182/9.387, allocations: 47.04 MB / 4.407 GB, free: 15.14 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000476/9.388, allocations: 199.1 kB / 4.407 GB, free: 14.94 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.891/13.28, allocations: 3.938 kB / 4.407 GB, free: 14.93 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