Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.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.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 112.1 kB / 16.38 MB, free: 6.023 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.001003/0.001003, allocations: 192.3 kB / 17.32 MB, free: 5.613 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.354/1.354, 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.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001576/0.001576, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2039, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl): time 1.292/1.496, allocations: 401.4 MB / 1.177 GB, free: 94.6 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03922/1.535, allocations: 26.89 MB / 1.203 GB, free: 94.42 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006905/1.542, allocations: 135.3 kB / 1.203 GB, free: 94.42 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00649/1.548, allocations: 1.999 MB / 1.205 GB, free: 94.39 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01914/1.568, allocations: 5.241 MB / 1.21 GB, free: 94.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01009/1.578, allocations: 3.556 MB / 1.214 GB, free: 94.1 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.06648/1.644, allocations: 58.3 MB / 1.271 GB, free: 70.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0426/1.687, allocations: 36.22 MB / 1.306 GB, free: 34.04 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03995/1.727, allocations: 21.01 MB / 1.326 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02875/1.756, allocations: 16.99 MB / 1.343 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00951/1.765, allocations: 2.953 MB / 1.346 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02695/1.792, allocations: 6.592 MB / 1.352 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.01651/1.809, allocations: 7.523 MB / 1.36 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.03815/1.847, allocations: 13.71 MB / 1.373 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.06832/1.915, allocations: 48.09 MB / 1.42 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/1.915, allocations: 0 / 1.42 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.408e-06/1.915, allocations: 4 kB / 1.42 GB, free: 500 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.001388/1.917, allocations: 0 / 1.42 GB, free: 500 kB / 0.9981 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.08682/2.004, allocations: 25.67 MB / 1.445 GB, free: 6.879 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/2.004, allocations: 8.031 kB / 1.445 GB, free: 6.871 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02872/2.032, allocations: 4.227 MB / 1.449 GB, free: 2.633 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07006/2.102, allocations: 30.7 MB / 1.479 GB, free: 4.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/2.104, allocations: 1.03 MB / 1.48 GB, free: 3.227 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007302/2.111, allocations: 1.39 MB / 1.482 GB, free: 1.844 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07733/2.188, allocations: 28.04 MB / 1.509 GB, free: 5.594 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007163/2.189, allocations: 31.83 kB / 1.509 GB, free: 5.562 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005819/2.195, allocations: 0.5628 MB / 1.51 GB, free: 5.008 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000784/2.196, allocations: 0.612 MB / 1.51 GB, free: 4.395 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06141/2.257, allocations: 26.18 MB / 1.536 GB, free: 10.2 MB / 1.123 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.8383/3.096, allocations: 100.2 MB / 1.634 GB, free: 398.9 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02053/3.116, allocations: 13.32 MB / 1.647 GB, free: 392.4 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01235/3.129, allocations: 9.927 MB / 1.656 GB, free: 388 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/3.13, allocations: 1.002 MB / 1.657 GB, free: 387 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01025/3.14, allocations: 8.021 MB / 1.665 GB, free: 382.8 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005472/3.146, allocations: 0.9285 MB / 1.666 GB, free: 382.4 MB / 1.123 GB Notification: Performance of pre-optimization done (n=778): time 1.654e-05/3.146, allocations: 0 / 1.666 GB, free: 382.4 MB / 1.123 GB Notification: Performance of matching and sorting (n=780): time 0.05912/3.205, allocations: 38.25 MB / 1.703 GB, free: 349.3 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/3.205, allocations: 210.6 kB / 1.704 GB, free: 349.1 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02554/3.23, allocations: 17.05 MB / 1.72 GB, free: 332.2 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001939/3.232, allocations: 193.7 kB / 1.72 GB, free: 332 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.008401/3.241, allocations: 8.072 MB / 1.728 GB, free: 323.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.003398/3.244, allocations: 2.811 MB / 1.731 GB, free: 321.2 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004301/3.249, allocations: 1.907 MB / 1.733 GB, free: 319.2 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 3.813e-05/3.249, allocations: 305.1 kB / 1.733 GB, free: 318.9 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/3.259, allocations: 7.049 MB / 1.74 GB, free: 311.9 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0136/3.273, allocations: 9.831 MB / 1.75 GB, free: 301.1 MB / 1.123 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.1077/3.381, allocations: 43.34 MB / 1.792 GB, free: 257.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.011e-05/3.381, allocations: 12 kB / 1.792 GB, free: 257.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.02819/3.409, allocations: 17.81 MB / 1.809 GB, free: 239.7 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/3.409, allocations: 65.66 kB / 1.809 GB, free: 239.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.796e-05/3.409, allocations: 48 kB / 1.81 GB, free: 239.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/3.409, allocations: 88 kB / 1.81 GB, free: 239.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/3.42, allocations: 2.285 MB / 1.812 GB, free: 237.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008006/3.421, allocations: 1.308 MB / 1.813 GB, free: 235.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/3.433, allocations: 0.8719 MB / 1.814 GB, free: 235 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/3.435, allocations: 351 kB / 1.814 GB, free: 234.6 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02429/3.459, allocations: 17.99 MB / 1.832 GB, free: 216.6 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01109/3.47, allocations: 9.83 MB / 1.841 GB, free: 205.9 MB / 1.123 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_lambda0): time 0.1053/3.575, allocations: 43.3 MB / 1.884 GB, free: 161.9 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-05/3.576, allocations: 12 kB / 1.884 GB, free: 161.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=1082) (initialization_lambda0): time 0.03012/3.606, allocations: 17.83 MB / 1.901 GB, free: 144 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/3.606, allocations: 57.7 kB / 1.901 GB, free: 143.9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-05/3.606, allocations: 53.12 kB / 1.901 GB, free: 143.9 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.176e-05/3.606, allocations: 88 kB / 1.901 GB, free: 143.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009492/3.615, allocations: 2.266 MB / 1.904 GB, free: 141.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001367/3.616, allocations: 123.6 kB / 1.904 GB, free: 141.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/3.627, allocations: 0.9458 MB / 1.905 GB, free: 140.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/3.629, allocations: 351.9 kB / 1.905 GB, free: 140.1 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: 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.lowHys.y,$PRE.mot.uppHys.y,mot.lowHys.y,mot.uppHys.y,TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003235/3.632, allocations: 0.7388 MB / 1.906 GB, free: 139.3 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003699/3.636, allocations: 1.328 MB / 1.907 GB, free: 138 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02696/3.663, allocations: 16.64 MB / 1.923 GB, free: 121.3 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01821/3.681, allocations: 13.59 MB / 1.936 GB, free: 107.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/3.681, allocations: 0 / 1.936 GB, free: 107.6 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008217/3.689, allocations: 3.692 MB / 1.94 GB, free: 103.9 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0039/3.693, allocations: 223.9 kB / 1.94 GB, free: 103.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009378/3.703, allocations: 0.7192 MB / 1.941 GB, free: 103 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001556/3.704, allocations: 445.5 kB / 1.941 GB, free: 102.5 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02777/3.732, allocations: 16.84 MB / 1.958 GB, free: 85.73 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0343/3.766, allocations: 26.78 MB / 1.984 GB, free: 58.84 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008145/3.775, allocations: 7.466 MB / 1.991 GB, free: 51.35 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.02/3.795, allocations: 12.49 MB / 2.004 GB, free: 38.93 MB / 1.123 GB Notification: Performance of Backend: time 1.453e-06/3.795, allocations: 0 / 2.004 GB, free: 38.93 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.03758/3.832, allocations: 18.85 MB / 2.022 GB, free: 20.26 MB / 1.123 GB Notification: Performance of SimCode: time 0.7823/4.615, allocations: 49.87 MB / 2.071 GB, free: 425.8 MB / 1.123 GB Notification: Performance of Templates: time 0.4717/5.086, allocations: 399.7 MB / 2.461 GB, free: 81.62 MB / 1.123 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe 2>&1)