Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.594/1.594, allocations: 287.4 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 174.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 0.6304 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007462/0.0007463, allocations: 101.1 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 15.38 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.192, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl): time 0.7515/0.9435, allocations: 368 MB / 1.339 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.03983/0.9834, allocations: 25.32 MB / 1.363 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005354/0.9888, allocations: 123.2 kB / 1.363 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.005397/0.9942, allocations: 1.261 MB / 1.365 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01275/1.007, allocations: 3.883 MB / 1.369 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.008164/1.015, allocations: 2.366 MB / 1.371 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 1.15/2.165, allocations: 61.43 MB / 1.431 GB, free: 89.66 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.044/2.209, allocations: 26.91 MB / 1.457 GB, free: 84.38 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03022/2.239, allocations: 13.37 MB / 1.47 GB, free: 84.36 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02698/2.266, allocations: 13.4 MB / 1.483 GB, free: 84.32 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006614/2.273, allocations: 0.7446 MB / 1.484 GB, free: 84.31 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01926/2.292, allocations: 2.786 MB / 1.487 GB, free: 84.31 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01165/2.304, allocations: 4.417 MB / 1.491 GB, free: 84.31 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01315/2.317, allocations: 4.67 MB / 1.496 GB, free: 84.28 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03913/2.356, allocations: 39.63 MB / 1.534 GB, free: 72.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/2.356, allocations: 1.125 kB / 1.534 GB, free: 72.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.144e-06/2.356, allocations: 0 / 1.534 GB, free: 72.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001249/2.358, allocations: 4 kB / 1.534 GB, free: 72.54 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3509 * Number of variables: 3509 Notification: Performance of Generate backend data structure: time 0.0574/2.415, allocations: 20.51 MB / 1.554 GB, free: 62 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/2.415, allocations: 10.62 kB / 1.554 GB, free: 62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02527/2.44, allocations: 4.247 MB / 1.558 GB, free: 59.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05841/2.499, allocations: 29.85 MB / 1.588 GB, free: 40.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/2.5, allocations: 1.024 MB / 1.589 GB, free: 39.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00743/2.508, allocations: 1.388 MB / 1.59 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07287/2.58, allocations: 27.95 MB / 1.617 GB, free: 18.26 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008898/2.581, allocations: 34.44 kB / 1.617 GB, free: 18.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007519/2.589, allocations: 0.5542 MB / 1.618 GB, free: 18.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006368/2.59, allocations: 0.6235 MB / 1.618 GB, free: 17.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05858/2.648, allocations: 26.09 MB / 1.644 GB, free: 14.45 MB / 0.9637 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.1932/2.841, allocations: 100.5 MB / 1.742 GB, free: 4.52 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02364/2.865, allocations: 13.3 MB / 1.755 GB, free: 7.242 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01691/2.882, allocations: 9.921 MB / 1.765 GB, free: 13.3 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/2.884, allocations: 1.019 MB / 1.766 GB, free: 12.12 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01618/2.9, allocations: 8.008 MB / 1.774 GB, free: 4.062 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01096/2.911, allocations: 1.414 MB / 1.775 GB, free: 2.648 MB / 1.073 GB Notification: Performance of pre-optimization done (n=778): time 2.102e-05/2.911, allocations: 0 / 1.775 GB, free: 2.648 MB / 1.073 GB Notification: Performance of matching and sorting (n=780): time 0.08823/2.999, allocations: 38.21 MB / 1.812 GB, free: 12.21 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/3, allocations: 210.6 kB / 1.813 GB, free: 11.98 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03669/3.036, allocations: 16.95 MB / 1.829 GB, free: 11.11 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.002897/3.039, allocations: 197.3 kB / 1.829 GB, free: 10.92 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.01249/3.052, allocations: 8.118 MB / 1.837 GB, free: 2.793 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.005502/3.057, allocations: 2.802 MB / 1.84 GB, free: 12 kB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.813/3.87, allocations: 169.4 kB / 1.84 GB, free: 461 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 0.001278/3.872, allocations: 0.7079 MB / 1.841 GB, free: 460.7 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01503/3.887, allocations: 6.984 MB / 1.848 GB, free: 460.7 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01978/3.907, allocations: 9.807 MB / 1.857 GB, free: 458 MB / 1.136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.1199/4.026, allocations: 43.69 MB / 1.9 GB, free: 445.9 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/4.027, allocations: 19.47 kB / 1.9 GB, free: 445.9 MB / 1.136 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.03203/4.059, allocations: 17.78 MB / 1.917 GB, free: 440.8 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008071/4.06, allocations: 1.633 MB / 1.919 GB, free: 438.6 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.1e-05/4.06, allocations: 45.78 kB / 1.919 GB, free: 438.6 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/4.06, allocations: 95.03 kB / 1.919 GB, free: 438.6 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009611/4.069, allocations: 2.303 MB / 1.921 GB, free: 438.4 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000667/4.07, allocations: 1.299 MB / 1.922 GB, free: 437.2 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01571/4.086, allocations: 1.696 MB / 1.924 GB, free: 436.9 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001778/4.088, allocations: 348 kB / 1.924 GB, free: 436.8 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/4.088, allocations: 3.219 kB / 1.924 GB, free: 436.8 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02644/4.114, allocations: 16.61 MB / 1.941 GB, free: 425.7 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/4.114, allocations: 48 kB / 1.941 GB, free: 425.6 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.495e-05/4.114, allocations: 88 kB / 1.941 GB, free: 425.5 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009424/4.124, allocations: 2.27 MB / 1.943 GB, free: 423.2 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001569/4.124, allocations: 123.6 kB / 1.943 GB, free: 423.1 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/4.138, allocations: 1.653 MB / 1.945 GB, free: 421.6 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/4.14, allocations: 347.9 kB / 1.945 GB, free: 421.2 MB / 1.136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 220 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.mot.uppHys.y,$PRE.mot.lowHys.y,$whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1077): * Single equations (assignments): 1074 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01971/4.159, allocations: 11.47 MB / 1.956 GB, free: 409.8 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005447/4.165, allocations: 1.326 MB / 1.958 GB, free: 409.1 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03323/4.198, allocations: 16.62 MB / 1.974 GB, free: 392.5 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02174/4.22, allocations: 13.58 MB / 1.987 GB, free: 378.8 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/4.22, allocations: 4 kB / 1.987 GB, free: 378.8 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01128/4.231, allocations: 3.729 MB / 1.991 GB, free: 375.7 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005136/4.236, allocations: 224.9 kB / 1.991 GB, free: 375.5 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01256/4.249, allocations: 1.388 MB / 1.992 GB, free: 374.1 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/4.251, allocations: 453.5 kB / 1.993 GB, free: 373.7 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04525/4.296, allocations: 16.87 MB / 2.009 GB, free: 356.9 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05705/4.353, allocations: 26.76 MB / 2.035 GB, free: 330.6 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01444/4.368, allocations: 7.43 MB / 2.043 GB, free: 323.2 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.02935/4.397, allocations: 12.38 MB / 2.055 GB, free: 310.9 MB / 1.136 GB Notification: Performance of Backend: time 9.31e-07/4.397, allocations: 4 kB / 2.055 GB, free: 310.9 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.05555/4.453, allocations: 18.79 MB / 2.073 GB, free: 292.3 MB / 1.136 GB Notification: Performance of SimCode: time 0.09893/4.552, allocations: 55.84 MB / 2.128 GB, free: 236.6 MB / 1.136 GB Notification: Performance of Templates: time 0.868/5.42, allocations: 384.3 MB / 2.503 GB, free: 344.3 MB / 1.136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe 2>&1)