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 1.06/1.06, allocations: 141.8 MB / 149.3 MB, free: 9.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 184.8 kB / 182.2 MB, free: 9.398 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.711/1.711, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001067/0.001067, allocations: 93.53 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 275.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.006e-05, allocations: 0 / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5691, allocations: 82.78 MB / 0.7575 GB, free: 31.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.059/6.629, allocations: 2.155 GB / 2.912 GB, free: 132.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/6.629, allocations: 86.83 kB / 2.912 GB, free: 132.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.143/9.772, allocations: 0.9174 GB / 3.83 GB, free: 1.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.562e-06/9.772, allocations: 0 / 3.83 GB, free: 1.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001234/9.772, allocations: 39.98 kB / 3.83 GB, free: 1.141 MB / 0.698 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.005811/9.778, allocations: 1.952 MB / 3.831 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/9.778, allocations: 8.031 kB / 3.831 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/9.781, allocations: 0.525 MB / 3.832 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/9.784, allocations: 1.212 MB / 3.833 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/9.785, allocations: 177.6 kB / 3.833 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/9.785, allocations: 60 kB / 3.833 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001757/9.787, allocations: 0.9294 MB / 3.834 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/9.789, allocations: 1.035 MB / 3.835 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/9.789, allocations: 0 / 3.835 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/9.789, allocations: 4 kB / 3.835 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/9.789, allocations: 37.98 kB / 3.835 GB, free: 11.07 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.009046/9.798, allocations: 4.909 MB / 3.84 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/9.799, allocations: 0.8254 MB / 3.841 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/9.8, allocations: 452.9 kB / 3.841 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/9.801, allocations: 0.8351 MB / 3.842 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008675/9.802, allocations: 0.6155 MB / 3.843 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 3.046e-06/9.802, allocations: 0 / 3.843 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.003077/9.805, allocations: 1.135 MB / 3.844 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/9.805, allocations: 141.3 kB / 3.844 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/9.806, allocations: 0.742 MB / 3.845 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/9.806, allocations: 29.7 kB / 3.845 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000527/9.807, allocations: 0.5315 MB / 3.845 GB, free: 280 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/9.807, allocations: 268 kB / 3.846 GB, free: 8 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/9.807, allocations: 0 / 3.846 GB, free: 8 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.5137/10.32, allocations: 336.7 kB / 3.846 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/10.32, allocations: 387 kB / 3.846 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/10.32, allocations: 0.5977 MB / 3.847 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/10.32, allocations: 0.5423 MB / 3.847 GB, free: 91.06 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/10.32, allocations: 1.844 kB / 3.847 GB, free: 91.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003264/10.33, allocations: 1.283 MB / 3.849 GB, free: 91.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002828/10.33, allocations: 1.21 MB / 3.85 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/10.33, allocations: 3.219 kB / 3.85 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/10.33, allocations: 7.312 kB / 3.85 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/10.33, allocations: 274.4 kB / 3.85 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/10.33, allocations: 8.719 kB / 3.85 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/10.33, allocations: 180.4 kB / 3.85 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/10.33, allocations: 52.2 kB / 3.85 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/10.33, allocations: 7.531 kB / 3.85 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002727/10.33, allocations: 1.182 MB / 3.851 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/10.33, allocations: 3.688 kB / 3.851 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/10.33, allocations: 10.78 kB / 3.851 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/10.34, allocations: 268.3 kB / 3.852 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/10.34, allocations: 10.47 kB / 3.852 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/10.34, allocations: 164.4 kB / 3.852 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/10.34, allocations: 56.91 kB / 3.852 GB, free: 89.75 MB / 0.7136 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.0003246/10.34, allocations: 202.7 kB / 3.852 GB, free: 89.58 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002237/10.34, allocations: 1.132 MB / 3.853 GB, free: 89.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/10.34, allocations: 117.9 kB / 3.853 GB, free: 89.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/10.34, allocations: 1.274 MB / 3.855 GB, free: 89.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/10.34, allocations: 7.781 kB / 3.855 GB, free: 89.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/10.34, allocations: 3.125 kB / 3.855 GB, free: 89.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/10.34, allocations: 3.516 kB / 3.855 GB, free: 89.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/10.35, allocations: 2.707 MB / 3.857 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/10.35, allocations: 6.812 kB / 3.857 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000999/10.35, allocations: 210.1 kB / 3.857 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/10.35, allocations: 7.562 kB / 3.857 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/10.35, allocations: 29.56 kB / 3.858 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/10.35, allocations: 5.062 kB / 3.858 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/10.35, allocations: 7 kB / 3.858 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/10.35, allocations: 2.124 MB / 3.86 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/10.35, allocations: 345.5 kB / 3.86 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/10.35, allocations: 11.34 kB / 3.86 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/10.35, allocations: 128.6 kB / 3.86 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/10.35, allocations: 66.92 kB / 3.86 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.436e-05/10.35, allocations: 51.55 kB / 3.86 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007307/10.36, allocations: 0.5563 MB / 3.861 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/10.36, allocations: 3 kB / 3.861 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002811/10.36, allocations: 0.938 MB / 3.862 GB, free: 88.04 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.007308/10.37, allocations: 5.832 MB / 3.867 GB, free: 85.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002818/10.37, allocations: 1.846 MB / 3.869 GB, free: 85.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/10.37, allocations: 3.188 kB / 3.869 GB, free: 85.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/10.37, allocations: 0.6466 MB / 3.87 GB, free: 85.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/10.37, allocations: 423.5 kB / 3.87 GB, free: 85.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/10.38, allocations: 2.086 MB / 3.872 GB, free: 84.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/10.38, allocations: 1.182 MB / 3.873 GB, free: 83.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001894/10.38, allocations: 404.5 kB / 3.874 GB, free: 83.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/10.38, allocations: 474.6 kB / 3.874 GB, free: 83.95 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/10.38, allocations: 2.125 kB / 3.874 GB, free: 83.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07569/10.46, allocations: 47.07 MB / 3.92 GB, free: 82.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/10.46, allocations: 219.9 kB / 3.92 GB, free: 82.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/14.15, allocations: 5.469 kB / 3.92 GB, free: 82.44 MB / 0.7136 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)