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.001097/0.001097, allocations: 114 kB / 16.42 MB, free: 6.402 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.001393/0.001393, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.32/1.32, allocations: 222.9 MB / 241 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.002122/0.002122, allocations: 292.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9853/0.9853, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 96.08 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3956, allocations: 87 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6083/1.004, allocations: 206.8 MB / 0.9691 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01621/1.02, allocations: 13.6 MB / 0.9824 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/1.023, allocations: 48.69 kB / 0.9824 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/1.025, allocations: 0.8149 MB / 0.9832 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005673/1.03, allocations: 2.325 MB / 0.9855 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005289/1.036, allocations: 2.133 MB / 0.9876 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004129/1.04, allocations: 3.292 MB / 0.9908 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/1.042, allocations: 1.159 MB / 0.9919 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/1.046, allocations: 1.903 MB / 0.9938 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/1.048, allocations: 1.049 MB / 0.9948 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002546/1.048, allocations: 128.2 kB / 0.9949 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/1.054, allocations: 3.093 MB / 0.9979 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005021/1.054, allocations: 422.6 kB / 0.9983 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/1.055, allocations: 0.7875 MB / 0.9991 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005058/1.06, allocations: 3.154 MB / 1.002 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.06, allocations: 1.094 kB / 1.002 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/1.06, allocations: 0 / 1.002 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.224e-05/1.06, allocations: 0 / 1.002 GB, free: 1.102 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.003964/1.064, allocations: 2.12 MB / 1.004 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/1.064, allocations: 13.72 kB / 1.004 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/1.067, allocations: 0.5143 MB / 1.005 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/1.069, allocations: 1.141 MB / 1.006 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/1.069, allocations: 71.69 kB / 1.006 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/1.07, allocations: 99.69 kB / 1.006 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/1.072, allocations: 1.248 MB / 1.007 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/1.072, allocations: 7.938 kB / 1.007 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.072, allocations: 34.03 kB / 1.007 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/1.072, allocations: 41.88 kB / 1.007 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/1.075, allocations: 1.271 MB / 1.009 GB, free: 15.39 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.007266/1.082, allocations: 4.862 MB / 1.013 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/1.084, allocations: 0.9499 MB / 1.014 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/1.085, allocations: 0.5551 MB / 1.015 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.087, allocations: 0.8372 MB / 1.016 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/1.088, allocations: 0.6737 MB / 1.016 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=84): time 3.466e-06/1.088, allocations: 0 / 1.016 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.004341/1.092, allocations: 1.691 MB / 1.018 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/1.093, allocations: 118.8 kB / 1.018 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.094, allocations: 1.053 MB / 1.019 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/1.094, allocations: 41.95 kB / 1.019 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/1.095, allocations: 0.5295 MB / 1.02 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/1.095, allocations: 274.6 kB / 1.02 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/1.095, allocations: 201.6 kB / 1.02 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.095, allocations: 347.8 kB / 1.02 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.096, allocations: 0.4906 MB / 1.021 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/1.098, allocations: 0.6697 MB / 1.022 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/1.1, allocations: 1.165 MB / 1.023 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.1, allocations: 1.25 kB / 1.023 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003151/1.103, allocations: 1.431 MB / 1.024 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/1.103, allocations: 79.7 kB / 1.024 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.103, allocations: 8.094 kB / 1.024 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.103, allocations: 6.844 kB / 1.024 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.105, allocations: 248.9 kB / 1.024 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.105, allocations: 4.688 kB / 1.024 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.106, allocations: 157.4 kB / 1.025 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.106, allocations: 48.64 kB / 1.025 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001594/1.108, allocations: 0.7297 MB / 1.025 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001456/1.109, allocations: 0.6676 MB / 1.026 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002456/1.112, allocations: 1.155 MB / 1.027 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/1.112, allocations: 1.188 kB / 1.027 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003196/1.115, allocations: 1.434 MB / 1.029 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/1.115, allocations: 66.86 kB / 1.029 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.115, allocations: 6.672 kB / 1.029 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/1.115, allocations: 7.656 kB / 1.029 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.116, allocations: 250.2 kB / 1.029 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.116, allocations: 12.78 kB / 1.029 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.118, allocations: 139 kB / 1.029 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/1.118, allocations: 44.83 kB / 1.029 GB, free: 9.641 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.0004151/1.118, allocations: 309.9 kB / 1.029 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/1.119, allocations: 125.3 kB / 1.029 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/1.122, allocations: 1.453 MB / 1.031 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/1.122, allocations: 3.656 kB / 1.031 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.122, allocations: 2.953 kB / 1.031 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/1.122, allocations: 339.6 kB / 1.031 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.122, allocations: 25.09 kB / 1.031 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.124, allocations: 106.4 kB / 1.031 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.124, allocations: 47.45 kB / 1.031 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003266/1.127, allocations: 1.539 MB / 1.033 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004265/1.131, allocations: 2.214 MB / 1.035 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001227/1.132, allocations: 0.611 MB / 1.036 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001/1.134, allocations: 0.7051 MB / 1.036 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of Backend: time 6.21e-07/1.134, allocations: 0 / 1.036 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00589/1.139, allocations: 2.482 MB / 1.039 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004172/1.144, allocations: 2.717 MB / 1.041 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of Templates: time 0.05877/1.202, allocations: 35.98 MB / 1.077 GB, free: 416 kB / 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)