Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001267/0.001267, allocations: 105.3 kB / 16.36 MB, free: 6.363 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.001313/0.001313, allocations: 187.1 kB / 17.3 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 79.17 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2268, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6562/0.883, allocations: 206.9 MB / 0.9868 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.9012, allocations: 13.48 MB / 1 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.9035, allocations: 51.69 kB / 1 GB, free: 13.48 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.9059, allocations: 0.7958 MB / 1.001 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005995/0.9119, allocations: 2.187 MB / 1.003 GB, free: 10.49 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00541/0.9173, allocations: 2.115 MB / 1.005 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004513/0.9218, allocations: 3.26 MB / 1.008 GB, free: 5.129 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.9236, allocations: 1.169 MB / 1.009 GB, free: 3.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/0.9282, allocations: 1.851 MB / 1.011 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.9298, allocations: 1.042 MB / 1.012 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.93, allocations: 128 kB / 1.012 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005915/0.9359, allocations: 3.088 MB / 1.015 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005851/0.9365, allocations: 426.5 kB / 1.016 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.9376, allocations: 0.7813 MB / 1.016 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006551/0.9442, allocations: 3.14 MB / 1.02 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9442, allocations: 3.938 kB / 1.02 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9442, allocations: 4 kB / 1.02 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.093e-05/0.9443, allocations: 4 kB / 1.02 GB, free: 9.473 MB / 0.8106 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.006193/0.9505, allocations: 2.114 MB / 1.022 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.9506, allocations: 11.97 kB / 1.022 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/0.9539, allocations: 0.521 MB / 1.022 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.9567, allocations: 1.133 MB / 1.023 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.12e-05/0.9568, allocations: 78 kB / 1.023 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.9571, allocations: 95.98 kB / 1.023 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.9599, allocations: 1.252 MB / 1.025 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.9599, allocations: 7.922 kB / 1.025 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.96, allocations: 36 kB / 1.025 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/0.9601, allocations: 38 kB / 1.025 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/0.9632, allocations: 1.28 MB / 1.026 GB, free: 2.766 MB / 0.8106 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.0091/0.9723, allocations: 4.86 MB / 1.031 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.9748, allocations: 0.963 MB / 1.032 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.976, allocations: 0.5604 MB / 1.032 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.9773, allocations: 0.8383 MB / 1.033 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.9788, allocations: 0.67 MB / 1.034 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=85): time 3.386e-06/0.9788, allocations: 3.938 kB / 1.034 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85): time 0.004452/0.9833, allocations: 1.718 MB / 1.035 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.9833, allocations: 119.5 kB / 1.035 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.985, allocations: 1.034 MB / 1.036 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.9851, allocations: 45.7 kB / 1.037 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.9856, allocations: 0.532 MB / 1.037 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.9859, allocations: 276 kB / 1.037 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/0.9863, allocations: 214.4 kB / 1.038 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9864, allocations: 341.9 kB / 1.038 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.9877, allocations: 0.5005 MB / 1.038 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.9892, allocations: 0.6882 MB / 1.039 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.9918, allocations: 1.18 MB / 1.04 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.9918, allocations: 0 / 1.04 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003506/0.9953, allocations: 1.456 MB / 1.042 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.9954, allocations: 75.38 kB / 1.042 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.9954, allocations: 12.03 kB / 1.042 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.9955, allocations: 8.031 kB / 1.042 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.9968, allocations: 251.6 kB / 1.042 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.9968, allocations: 7.984 kB / 1.042 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.9982, allocations: 159.7 kB / 1.042 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.9983, allocations: 47.97 kB / 1.042 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001652/1, allocations: 0.7322 MB / 1.043 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001453/1.001, allocations: 0.691 MB / 1.044 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002527/1.004, allocations: 1.168 MB / 1.045 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/1.004, allocations: 3.938 kB / 1.045 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.00356/1.008, allocations: 1.456 MB / 1.046 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/1.008, allocations: 75.33 kB / 1.046 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.008, allocations: 3.984 kB / 1.046 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.008, allocations: 12.09 kB / 1.046 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.009, allocations: 243.7 kB / 1.046 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/1.009, allocations: 11.94 kB / 1.046 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.01, allocations: 146.1 kB / 1.047 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/1.01, allocations: 47.97 kB / 1.047 GB, free: 12.75 MB / 0.8419 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 (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 (109): * Single equations (assignments): 107 * 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.0004296/1.011, allocations: 303.4 kB / 1.047 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/1.011, allocations: 126.5 kB / 1.047 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/1.015, allocations: 1.462 MB / 1.048 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.015, allocations: 7.984 kB / 1.048 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.015, allocations: 4 kB / 1.048 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/1.015, allocations: 331.2 kB / 1.049 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.015, allocations: 20 kB / 1.049 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.017, allocations: 75.92 kB / 1.049 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.017, allocations: 60.86 kB / 1.049 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00363/1.02, allocations: 1.558 MB / 1.05 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004558/1.025, allocations: 2.219 MB / 1.053 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001386/1.026, allocations: 0.6247 MB / 1.053 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0012/1.027, allocations: 0.701 MB / 1.054 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of Backend: time 2.104e-06/1.028, allocations: 0 / 1.054 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006528/1.034, allocations: 2.497 MB / 1.056 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004556/1.039, allocations: 2.72 MB / 1.059 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.05717/1.096, allocations: 35.86 MB / 1.094 GB, free: 12.37 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)