Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6896/0.6896, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009901/0.0009902, allocations: 187.2 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.3 MB / 441.4 MB, free: 4.625 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 91.34 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00162/0.00162, allocations: 270.1 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.628e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3414, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.792/4.134, allocations: 2.155 GB / 2.92 GB, free: 168.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/4.134, allocations: 87.95 kB / 2.92 GB, free: 168.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.489/6.623, allocations: 0.9263 GB / 3.846 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.62e-07/6.623, allocations: 0 / 3.846 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.671e-05/6.623, allocations: 39.98 kB / 3.846 GB, free: 38.79 MB / 0.7136 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.004037/6.627, allocations: 1.952 MB / 3.848 GB, free: 36.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/6.627, allocations: 8.031 kB / 3.848 GB, free: 36.76 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/6.627, allocations: 139.7 kB / 3.848 GB, free: 36.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/6.63, allocations: 0.5234 MB / 3.849 GB, free: 36.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/6.632, allocations: 1.227 MB / 3.85 GB, free: 34.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005636/6.633, allocations: 205.9 kB / 3.85 GB, free: 34.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/6.633, allocations: 107.6 kB / 3.85 GB, free: 34.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/6.634, allocations: 1.149 MB / 3.851 GB, free: 33.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/6.634, allocations: 4 kB / 3.851 GB, free: 33.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/6.634, allocations: 36 kB / 3.851 GB, free: 33.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/6.635, allocations: 41.98 kB / 3.851 GB, free: 33.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/6.636, allocations: 1.015 MB / 3.852 GB, free: 32.24 MB / 0.7136 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.006516/6.642, allocations: 5.099 MB / 3.857 GB, free: 26.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/6.644, allocations: 0.7944 MB / 3.858 GB, free: 26.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/6.644, allocations: 471.8 kB / 3.858 GB, free: 25.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008032/6.645, allocations: 0.8428 MB / 3.859 GB, free: 24.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006648/6.646, allocations: 0.5982 MB / 3.86 GB, free: 23.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 2.023e-06/6.646, allocations: 0 / 3.86 GB, free: 23.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.001609/6.647, allocations: 1.107 MB / 3.861 GB, free: 22.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/6.647, allocations: 123.5 kB / 3.861 GB, free: 22.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/6.648, allocations: 0.8965 MB / 3.862 GB, free: 21.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/6.648, allocations: 49.7 kB / 3.862 GB, free: 21.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/6.648, allocations: 0.5282 MB / 3.862 GB, free: 21.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/6.649, allocations: 280 kB / 3.863 GB, free: 20.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/6.649, allocations: 20 kB / 3.863 GB, free: 20.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/6.649, allocations: 341.9 kB / 3.863 GB, free: 20.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/6.649, allocations: 405.9 kB / 3.863 GB, free: 20.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/6.65, allocations: 0.6261 MB / 3.864 GB, free: 19.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/6.65, allocations: 0.5022 MB / 3.865 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/6.65, allocations: 0 / 3.865 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001647/6.652, allocations: 1.294 MB / 3.866 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/6.652, allocations: 1.12 MB / 3.867 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/6.652, allocations: 4 kB / 3.867 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/6.652, allocations: 8 kB / 3.867 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/6.654, allocations: 271.6 kB / 3.867 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/6.654, allocations: 7.984 kB / 3.867 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/6.655, allocations: 218.9 kB / 3.867 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/6.655, allocations: 51.97 kB / 3.867 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/6.655, allocations: 4 kB / 3.867 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001571/6.657, allocations: 1.204 MB / 3.869 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/6.657, allocations: 4.312 kB / 3.869 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/6.657, allocations: 12 kB / 3.869 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/6.658, allocations: 267.6 kB / 3.869 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/6.658, allocations: 4 kB / 3.869 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/6.659, allocations: 203 kB / 3.869 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/6.659, allocations: 55.95 kB / 3.869 GB, free: 14.08 MB / 0.7136 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.0002029/6.659, allocations: 228.1 kB / 3.869 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/6.659, allocations: 130.5 kB / 3.87 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/6.661, allocations: 1.321 MB / 3.871 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/6.661, allocations: 8 kB / 3.871 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/6.661, allocations: 0 / 3.871 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/6.661, allocations: 3.984 kB / 3.871 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/6.664, allocations: 2.823 MB / 3.874 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/6.664, allocations: 0 / 3.874 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/6.665, allocations: 207.9 kB / 3.874 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/6.665, allocations: 8 kB / 3.874 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/6.665, allocations: 31.98 kB / 3.874 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/6.665, allocations: 11.94 kB / 3.874 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/6.665, allocations: 11.98 kB / 3.874 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/6.668, allocations: 2.173 MB / 3.876 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/6.668, allocations: 359.1 kB / 3.876 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/6.668, allocations: 20 kB / 3.876 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/6.669, allocations: 143.8 kB / 3.876 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/6.669, allocations: 76.3 kB / 3.877 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/6.67, allocations: 47.97 kB / 3.877 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006442/6.67, allocations: 0.6828 MB / 3.877 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/6.67, allocations: 0 / 3.877 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002247/6.672, allocations: 1.003 MB / 3.878 GB, free: 4.512 MB / 0.7136 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.005113/6.678, allocations: 5.674 MB / 3.884 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002578/6.68, allocations: 1.949 MB / 3.886 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/6.68, allocations: 0 / 3.886 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000807/6.681, allocations: 0.6713 MB / 3.886 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/6.683, allocations: 0.5012 MB / 3.887 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/6.687, allocations: 2.18 MB / 3.889 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/6.688, allocations: 1.186 MB / 3.89 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001778/6.689, allocations: 440.7 kB / 3.891 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006879/6.69, allocations: 479.2 kB / 3.891 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/6.69, allocations: 7.938 kB / 3.891 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4152/7.105, allocations: 69.36 MB / 3.959 GB, free: 98.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/7.106, allocations: 233.2 kB / 3.959 GB, free: 98.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.973/11.08, allocations: 3.75 kB / 3.959 GB, free: 98.57 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)