Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4957/0.4957, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 95.7 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.425e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4243, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.254/5.678, allocations: 2.149 GB / 2.709 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/5.679, allocations: 89.39 kB / 2.709 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.178/8.857, allocations: 0.9249 GB / 3.634 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/8.857, allocations: 0 / 3.634 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000112/8.857, allocations: 35.98 kB / 3.634 GB, free: 48.07 MB / 0.6198 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.005033/8.862, allocations: 1.944 MB / 3.636 GB, free: 46.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/8.862, allocations: 15.98 kB / 3.636 GB, free: 46.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/8.863, allocations: 151.6 kB / 3.636 GB, free: 45.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/8.865, allocations: 0.5208 MB / 3.637 GB, free: 45.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/8.868, allocations: 1.219 MB / 3.638 GB, free: 44.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005964/8.869, allocations: 205.9 kB / 3.638 GB, free: 43.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/8.869, allocations: 99.98 kB / 3.638 GB, free: 43.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/8.871, allocations: 1.156 MB / 3.639 GB, free: 42.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/8.871, allocations: 0 / 3.639 GB, free: 42.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/8.871, allocations: 36 kB / 3.639 GB, free: 42.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/8.871, allocations: 41.94 kB / 3.639 GB, free: 42.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/8.873, allocations: 1.015 MB / 3.64 GB, free: 41.53 MB / 0.6198 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.007817/8.88, allocations: 5.116 MB / 3.645 GB, free: 36.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/8.882, allocations: 0.7827 MB / 3.646 GB, free: 35.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/8.882, allocations: 467.1 kB / 3.646 GB, free: 34.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008936/8.883, allocations: 0.8428 MB / 3.647 GB, free: 33.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007392/8.884, allocations: 0.5982 MB / 3.648 GB, free: 33.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 3.607e-06/8.884, allocations: 4 kB / 3.648 GB, free: 33.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.00193/8.886, allocations: 1.104 MB / 3.649 GB, free: 32.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/8.886, allocations: 115.6 kB / 3.649 GB, free: 31.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/8.887, allocations: 0.8931 MB / 3.65 GB, free: 31.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/8.887, allocations: 45.7 kB / 3.65 GB, free: 31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/8.887, allocations: 0.532 MB / 3.65 GB, free: 30.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/8.888, allocations: 276 kB / 3.651 GB, free: 30.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/8.888, allocations: 24 kB / 3.651 GB, free: 30.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001286/8.888, allocations: 349.8 kB / 3.651 GB, free: 29.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/8.889, allocations: 405.8 kB / 3.651 GB, free: 29.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007543/8.889, allocations: 0.6055 MB / 3.652 GB, free: 28.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/8.89, allocations: 0.5 MB / 3.653 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/8.89, allocations: 4 kB / 3.653 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002118/8.892, allocations: 1.291 MB / 3.654 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003746/8.893, allocations: 1.129 MB / 3.655 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/8.893, allocations: 4 kB / 3.655 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/8.893, allocations: 8 kB / 3.655 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/8.894, allocations: 267.6 kB / 3.655 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/8.894, allocations: 7.984 kB / 3.655 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/8.895, allocations: 218.8 kB / 3.655 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/8.896, allocations: 55.97 kB / 3.655 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/8.896, allocations: 4 kB / 3.655 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/8.897, allocations: 1.208 MB / 3.657 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/8.897, allocations: 8 kB / 3.657 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/8.897, allocations: 8 kB / 3.657 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/8.898, allocations: 271.9 kB / 3.657 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/8.899, allocations: 7.938 kB / 3.657 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/8.9, allocations: 203 kB / 3.657 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/8.9, allocations: 55.97 kB / 3.657 GB, free: 23.38 MB / 0.6198 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.0002913/8.9, allocations: 232.1 kB / 3.657 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/8.901, allocations: 130.5 kB / 3.657 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/8.903, allocations: 1.312 MB / 3.659 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/8.903, allocations: 8 kB / 3.659 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/8.903, allocations: 3.984 kB / 3.659 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/8.903, allocations: 7.984 kB / 3.659 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003844/8.907, allocations: 2.808 MB / 3.662 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/8.907, allocations: 8.031 kB / 3.662 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00098/8.908, allocations: 203.7 kB / 3.662 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/8.908, allocations: 4 kB / 3.662 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/8.908, allocations: 35.97 kB / 3.662 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/8.908, allocations: 11.95 kB / 3.662 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/8.908, allocations: 11.94 kB / 3.662 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/8.91, allocations: 2.162 MB / 3.664 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005783/8.911, allocations: 359.1 kB / 3.664 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/8.911, allocations: 32.02 kB / 3.664 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/8.912, allocations: 139.8 kB / 3.664 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/8.912, allocations: 60.48 kB / 3.664 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/8.912, allocations: 51.95 kB / 3.665 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008126/8.913, allocations: 0.6907 MB / 3.665 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/8.913, allocations: 3.938 kB / 3.665 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002892/8.916, allocations: 1.01 MB / 3.666 GB, free: 13.82 MB / 0.6198 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.005933/8.922, allocations: 5.663 MB / 3.672 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002598/8.925, allocations: 1.934 MB / 3.674 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/8.925, allocations: 320 / 3.674 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006982/8.925, allocations: 0.6581 MB / 3.674 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/8.928, allocations: 0.4982 MB / 3.675 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/8.933, allocations: 2.192 MB / 3.677 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/8.933, allocations: 1.179 MB / 3.678 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001885/8.935, allocations: 436.8 kB / 3.678 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/8.936, allocations: 487.2 kB / 3.679 GB, free: 424 kB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/8.936, allocations: 0 / 3.679 GB, free: 424 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5726/9.508, allocations: 69.21 MB / 3.747 GB, free: 72.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/9.508, allocations: 213.7 kB / 3.747 GB, free: 71.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.531/14.04, allocations: 0 / 3.747 GB, free: 71.79 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)