Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.001186/0.001186, allocations: 191.8 kB / 372.9 MB, free: 10.15 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.372/1.372, allocations: 205.4 MB / 0.6316 GB, free: 9.898 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.0006853/0.0006853, allocations: 86.3 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005223, allocations: 12.78 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.205, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl): time 0.7985/1.004, allocations: 368 MB / 1.34 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.03776/1.041, allocations: 25.33 MB / 1.365 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006014/1.047, allocations: 119.2 kB / 1.365 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.006317/1.054, allocations: 1.331 MB / 1.366 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01978/1.074, allocations: 4.322 MB / 1.37 GB, free: 11 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01239/1.086, allocations: 2.518 MB / 1.373 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 1.118/2.205, allocations: 61.43 MB / 1.433 GB, free: 90.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04419/2.249, allocations: 27.03 MB / 1.459 GB, free: 84.77 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03127/2.28, allocations: 13.53 MB / 1.473 GB, free: 84.76 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02848/2.309, allocations: 13.46 MB / 1.486 GB, free: 84.7 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.005963/2.315, allocations: 0.7393 MB / 1.486 GB, free: 84.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02074/2.335, allocations: 4.454 MB / 1.491 GB, free: 84.7 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01088/2.346, allocations: 4.412 MB / 1.495 GB, free: 84.7 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02494/2.371, allocations: 9.897 MB / 1.505 GB, free: 84.66 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04048/2.412, allocations: 39.84 MB / 1.544 GB, free: 71.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/2.412, allocations: 0 / 1.544 GB, free: 71.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.948e-06/2.412, allocations: 0 / 1.544 GB, free: 71.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001555/2.413, allocations: 3.625 kB / 1.544 GB, free: 71.68 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.05666/2.47, allocations: 20.52 MB / 1.564 GB, free: 59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/2.47, allocations: 8.031 kB / 1.564 GB, free: 58.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.027/2.497, allocations: 4.247 MB / 1.568 GB, free: 54.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05794/2.555, allocations: 29.85 MB / 1.597 GB, free: 35.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009588/2.556, allocations: 1.023 MB / 1.598 GB, free: 35.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007569/2.564, allocations: 1.39 MB / 1.599 GB, free: 34.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06775/2.632, allocations: 27.94 MB / 1.627 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001119/2.633, allocations: 41 kB / 1.627 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007687/2.64, allocations: 0.5534 MB / 1.627 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005266/2.641, allocations: 0.614 MB / 1.628 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06052/2.701, allocations: 26.09 MB / 1.653 GB, free: 9.57 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.171/2.873, allocations: 100.6 MB / 1.751 GB, free: 13.91 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/2.894, allocations: 13.3 MB / 1.764 GB, free: 0.6406 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01498/2.909, allocations: 9.919 MB / 1.774 GB, free: 6.695 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/2.911, allocations: 1.022 MB / 1.775 GB, free: 5.508 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01398/2.925, allocations: 8.003 MB / 1.783 GB, free: 13.46 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01138/2.936, allocations: 1.431 MB / 1.784 GB, free: 12.04 MB / 1.089 GB Notification: Performance of pre-optimization done (n=778): time 3.131e-05/2.936, allocations: 0 / 1.784 GB, free: 12.04 MB / 1.089 GB Notification: Performance of matching and sorting (n=780): time 0.0869/3.023, allocations: 38.2 MB / 1.822 GB, free: 5.613 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/3.023, allocations: 213.3 kB / 1.822 GB, free: 5.375 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03624/3.059, allocations: 16.95 MB / 1.838 GB, free: 4.52 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.002839/3.062, allocations: 197.7 kB / 1.839 GB, free: 4.32 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.9814/4.044, allocations: 8.109 MB / 1.847 GB, free: 460.1 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.005084/4.049, allocations: 2.81 MB / 1.849 GB, free: 459.6 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/4.05, allocations: 172.1 kB / 1.849 GB, free: 459.6 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 0.0008775/4.051, allocations: 0.7079 MB / 1.85 GB, free: 459.2 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0141/4.065, allocations: 6.982 MB / 1.857 GB, free: 459.2 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0177/4.083, allocations: 9.818 MB / 1.867 GB, free: 456.7 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.1244/4.207, allocations: 43.69 MB / 1.909 GB, free: 445.2 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.295e-05/4.207, allocations: 13.59 kB / 1.909 GB, free: 445.2 MB / 1.136 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.03933/4.247, allocations: 17.78 MB / 1.927 GB, free: 439.4 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001047/4.248, allocations: 1.627 MB / 1.928 GB, free: 437.2 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/4.248, allocations: 53.31 kB / 1.928 GB, free: 437.2 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/4.248, allocations: 89.09 kB / 1.928 GB, free: 437.2 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0119/4.26, allocations: 2.306 MB / 1.931 GB, free: 437 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009504/4.261, allocations: 1.301 MB / 1.932 GB, free: 435.8 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01701/4.278, allocations: 1.684 MB / 1.933 GB, free: 435.3 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002512/4.281, allocations: 350.8 kB / 1.934 GB, free: 435.2 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/4.281, allocations: 3.969 kB / 1.934 GB, free: 435.2 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02929/4.31, allocations: 16.61 MB / 1.95 GB, free: 421.2 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/4.31, allocations: 50.25 kB / 1.95 GB, free: 421.1 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-05/4.31, allocations: 88.09 kB / 1.95 GB, free: 421 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01059/4.321, allocations: 2.278 MB / 1.952 GB, free: 418.7 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002161/4.321, allocations: 115.7 kB / 1.952 GB, free: 418.6 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01556/4.337, allocations: 1.658 MB / 1.954 GB, free: 417 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002447/4.339, allocations: 347.9 kB / 1.954 GB, free: 416.6 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.01859/4.358, allocations: 11.47 MB / 1.966 GB, free: 405.1 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004542/4.362, allocations: 1.324 MB / 1.967 GB, free: 403.8 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03129/4.394, allocations: 16.62 MB / 1.983 GB, free: 387.1 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01868/4.412, allocations: 13.58 MB / 1.996 GB, free: 373.5 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/4.412, allocations: 4 kB / 1.996 GB, free: 373.5 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01104/4.423, allocations: 3.726 MB / 2 GB, free: 369.7 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004907/4.428, allocations: 227.9 kB / 2 GB, free: 369.5 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01297/4.441, allocations: 1.39 MB / 2.002 GB, free: 368.1 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/4.443, allocations: 449.5 kB / 2.002 GB, free: 367.6 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02947/4.473, allocations: 16.88 MB / 2.019 GB, free: 350.8 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03543/4.508, allocations: 26.75 MB / 2.045 GB, free: 324 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00977/4.518, allocations: 7.434 MB / 2.052 GB, free: 316.5 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.02101/4.539, allocations: 12.39 MB / 2.064 GB, free: 304.2 MB / 1.136 GB Notification: Performance of Backend: time 8.61e-07/4.539, allocations: 0 / 2.064 GB, free: 304.2 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.04921/4.588, allocations: 18.82 MB / 2.082 GB, free: 285.5 MB / 1.136 GB Notification: Performance of SimCode: time 0.1075/4.696, allocations: 55.82 MB / 2.137 GB, free: 229.8 MB / 1.136 GB Notification: Performance of Templates: time 0.9612/5.657, allocations: 387.7 MB / 2.516 GB, free: 333.6 MB / 1.136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe 2>&1)