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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 112.9 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002983/0.002983, allocations: 294.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9492/0.9492, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 96.28 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3826, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6274/1.01, allocations: 206.9 MB / 0.9691 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01605/1.026, allocations: 13.6 MB / 0.9824 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/1.028, allocations: 48.75 kB / 0.9824 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/1.03, allocations: 0.7934 MB / 0.9832 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00538/1.035, allocations: 2.219 MB / 0.9854 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005466/1.041, allocations: 2.118 MB / 0.9874 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004299/1.045, allocations: 3.281 MB / 0.9906 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/1.047, allocations: 1.155 MB / 0.9918 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/1.051, allocations: 1.891 MB / 0.9936 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/1.053, allocations: 1.054 MB / 0.9946 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/1.053, allocations: 132.1 kB / 0.9948 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005501/1.059, allocations: 3.087 MB / 0.9978 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005618/1.059, allocations: 426.2 kB / 0.9982 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.061, allocations: 0.7863 MB / 0.9989 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006251/1.067, allocations: 3.148 MB / 1.002 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.067, allocations: 1.031 kB / 1.002 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/1.067, allocations: 0 / 1.002 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.247e-05/1.067, allocations: 0 / 1.002 GB, free: 1.125 MB / 0.7169 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.004273/1.071, allocations: 2.122 MB / 1.004 GB, free: 16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.071, allocations: 8.5 kB / 1.004 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/1.074, allocations: 0.5224 MB / 1.005 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/1.077, allocations: 1.132 MB / 1.006 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/1.077, allocations: 72.59 kB / 1.006 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/1.077, allocations: 97.58 kB / 1.006 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/1.079, allocations: 1.255 MB / 1.007 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/1.079, allocations: 0 / 1.007 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.079, allocations: 35.81 kB / 1.007 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/1.079, allocations: 40.66 kB / 1.007 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/1.082, allocations: 1.272 MB / 1.008 GB, free: 15.42 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008145/1.09, allocations: 4.859 MB / 1.013 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/1.093, allocations: 0.9543 MB / 1.014 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.094, allocations: 0.5527 MB / 1.015 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/1.095, allocations: 0.8356 MB / 1.015 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/1.096, allocations: 0.6736 MB / 1.016 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=84): time 3.046e-06/1.096, allocations: 3.844 kB / 1.016 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.004092/1.1, allocations: 1.691 MB / 1.018 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/1.101, allocations: 121.8 kB / 1.018 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/1.102, allocations: 1.051 MB / 1.019 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.102, allocations: 43.2 kB / 1.019 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/1.102, allocations: 0.5365 MB / 1.019 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/1.103, allocations: 271.2 kB / 1.02 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/1.103, allocations: 203.4 kB / 1.02 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.103, allocations: 346.6 kB / 1.02 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/1.104, allocations: 0.4917 MB / 1.021 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.106, allocations: 0.6665 MB / 1.021 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/1.108, allocations: 1.165 MB / 1.023 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.108, allocations: 4 kB / 1.023 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003257/1.111, allocations: 1.439 MB / 1.024 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/1.112, allocations: 67.84 kB / 1.024 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/1.112, allocations: 3.594 kB / 1.024 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.112, allocations: 7.25 kB / 1.024 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.113, allocations: 246.9 kB / 1.024 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.113, allocations: 6.25 kB / 1.024 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.114, allocations: 161.9 kB / 1.024 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.114, allocations: 46.61 kB / 1.024 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001601/1.116, allocations: 0.7286 MB / 1.025 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00137/1.117, allocations: 0.668 MB / 1.026 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002467/1.12, allocations: 1.155 MB / 1.027 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/1.12, allocations: 0 / 1.027 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003205/1.123, allocations: 1.43 MB / 1.028 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/1.123, allocations: 75.17 kB / 1.028 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.123, allocations: 2.531 kB / 1.028 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/1.123, allocations: 8.234 kB / 1.028 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.124, allocations: 242.8 kB / 1.029 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.124, allocations: 6.266 kB / 1.029 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.126, allocations: 154.9 kB / 1.029 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/1.126, allocations: 52.3 kB / 1.029 GB, free: 9.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003715/1.126, allocations: 302.3 kB / 1.029 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/1.127, allocations: 126.8 kB / 1.029 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/1.13, allocations: 1.459 MB / 1.031 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/1.13, allocations: 5.531 kB / 1.031 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.13, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/1.13, allocations: 337.8 kB / 1.031 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/1.13, allocations: 22.23 kB / 1.031 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.132, allocations: 104.1 kB / 1.031 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.132, allocations: 47.38 kB / 1.031 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003267/1.135, allocations: 1.537 MB / 1.033 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004382/1.139, allocations: 2.213 MB / 1.035 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001272/1.141, allocations: 0.6071 MB / 1.035 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001027/1.142, allocations: 0.7112 MB / 1.036 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of Backend: time 4.11e-07/1.142, allocations: 0 / 1.036 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005949/1.148, allocations: 2.472 MB / 1.039 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004286/1.152, allocations: 2.725 MB / 1.041 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of Templates: time 0.05608/1.208, allocations: 35.98 MB / 1.076 GB, free: 0.6211 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)