Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 178.4 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007059/0.0007059, allocations: 93.17 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002993, allocations: 13.16 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl): time 0.7442/0.922, allocations: 399.3 MB / 1.287 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0354/0.9574, allocations: 27.52 MB / 1.314 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005496/0.9629, allocations: 123.2 kB / 1.314 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.004851/0.9678, allocations: 1.613 MB / 1.315 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01313/0.981, allocations: 4.925 MB / 1.32 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.008093/0.9891, allocations: 3.248 MB / 1.323 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.06334/1.052, allocations: 73.4 MB / 1.395 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9276/1.98, allocations: 27.01 MB / 1.421 GB, free: 45.21 MB / 0.9168 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03108/2.011, allocations: 13.97 MB / 1.435 GB, free: 44.98 MB / 0.9168 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02936/2.041, allocations: 14.26 MB / 1.449 GB, free: 42.52 MB / 0.9168 GB Notification: Performance of NFPackage.collectConstants: time 0.005314/2.046, allocations: 0.7456 MB / 1.45 GB, free: 42.51 MB / 0.9168 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01776/2.064, allocations: 4.551 MB / 1.454 GB, free: 42.51 MB / 0.9168 GB Notification: Performance of NFScalarize.scalarize: time 0.008781/2.073, allocations: 4.589 MB / 1.458 GB, free: 41.79 MB / 0.9168 GB Notification: Performance of NFVerifyModel.verify: time 0.02058/2.093, allocations: 10.36 MB / 1.469 GB, free: 38.89 MB / 0.9168 GB Notification: Performance of NFConvertDAE.convert: time 0.04485/2.138, allocations: 45.39 MB / 1.513 GB, free: 29.21 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/2.138, allocations: 0 / 1.513 GB, free: 29.21 MB / 0.9168 GB Notification: Performance of FrontEnd: time 2.405e-06/2.138, allocations: 0 / 1.513 GB, free: 29.21 MB / 0.9168 GB Notification: Performance of Transformations before backend: time 0.001233/2.139, allocations: 0 / 1.513 GB, free: 29.21 MB / 0.9168 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3533 * Number of variables: 3533 Notification: Performance of Generate backend data structure: time 0.05039/2.19, allocations: 20.54 MB / 1.533 GB, free: 18.61 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/2.19, allocations: 10.66 kB / 1.533 GB, free: 18.61 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02455/2.214, allocations: 4.25 MB / 1.537 GB, free: 16.79 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04717/2.262, allocations: 29.91 MB / 1.566 GB, free: 9.18 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007557/2.262, allocations: 1.033 MB / 1.567 GB, free: 9.152 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005546/2.268, allocations: 1.399 MB / 1.569 GB, free: 9.137 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05705/2.325, allocations: 28.19 MB / 1.596 GB, free: 5.004 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004073/2.325, allocations: 35.47 kB / 1.596 GB, free: 4.977 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003114/2.329, allocations: 0.559 MB / 1.597 GB, free: 4.852 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000588/2.329, allocations: 0.6199 MB / 1.597 GB, free: 4.262 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05514/2.384, allocations: 26.34 MB / 1.623 GB, free: 13.89 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.1572/2.542, allocations: 100.7 MB / 1.721 GB, free: 5.578 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/2.561, allocations: 13.08 MB / 1.734 GB, free: 8.551 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0138/2.574, allocations: 9.884 MB / 1.744 GB, free: 14.63 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/2.576, allocations: 1.018 MB / 1.745 GB, free: 13.45 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01184/2.588, allocations: 8.061 MB / 1.753 GB, free: 5.344 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008558/2.596, allocations: 1.418 MB / 1.754 GB, free: 3.926 MB / 1.089 GB Notification: Performance of pre-optimization done (n=778): time 1.548e-05/2.596, allocations: 0 / 1.754 GB, free: 3.926 MB / 1.089 GB Notification: Performance of matching and sorting (n=780): time 0.07446/2.671, allocations: 38.13 MB / 1.791 GB, free: 13.58 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/2.671, allocations: 217.2 kB / 1.792 GB, free: 13.34 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.733/3.404, allocations: 17.17 MB / 1.808 GB, free: 0.4907 GB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.002408/3.407, allocations: 189 kB / 1.809 GB, free: 0.4907 GB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.01214/3.419, allocations: 8.141 MB / 1.816 GB, free: 0.4904 GB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.004634/3.423, allocations: 2.818 MB / 1.819 GB, free: 0.4898 GB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002457/3.426, allocations: 0.7357 MB / 1.82 GB, free: 0.4898 GB / 1.136 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/3.426, allocations: 306.4 kB / 1.82 GB, free: 0.4895 GB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01351/3.44, allocations: 6.977 MB / 1.827 GB, free: 0.4894 GB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01474/3.454, allocations: 9.812 MB / 1.837 GB, free: 496.4 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.1069/3.561, allocations: 43.18 MB / 1.879 GB, free: 484.4 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.352e-05/3.561, allocations: 15.84 kB / 1.879 GB, free: 484.4 MB / 1.136 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.02891/3.59, allocations: 17.75 MB / 1.896 GB, free: 477.4 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008364/3.591, allocations: 1.63 MB / 1.898 GB, free: 475.1 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.033e-05/3.591, allocations: 48 kB / 1.898 GB, free: 475 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.993e-05/3.591, allocations: 94.81 kB / 1.898 GB, free: 474.9 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009643/3.601, allocations: 2.289 MB / 1.9 GB, free: 473.1 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006352/3.602, allocations: 1.299 MB / 1.901 GB, free: 471.8 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01414/3.616, allocations: 1.686 MB / 1.903 GB, free: 470.6 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/3.618, allocations: 351.3 kB / 1.903 GB, free: 470.3 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/3.618, allocations: 8 kB / 1.903 GB, free: 470.2 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02282/3.64, allocations: 16.58 MB / 1.92 GB, free: 454.1 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/3.641, allocations: 51.83 kB / 1.92 GB, free: 454.1 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.384e-05/3.641, allocations: 92 kB / 1.92 GB, free: 454 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008716/3.649, allocations: 2.255 MB / 1.922 GB, free: 451.8 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001159/3.65, allocations: 116.6 kB / 1.922 GB, free: 451.6 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/3.663, allocations: 1.662 MB / 1.924 GB, free: 450 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/3.664, allocations: 347.9 kB / 1.924 GB, free: 449.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.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.01662/3.681, allocations: 11.57 MB / 1.935 GB, free: 438 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003706/3.685, allocations: 1.328 MB / 1.937 GB, free: 436.7 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02475/3.71, allocations: 16.58 MB / 1.953 GB, free: 420.1 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0149/3.725, allocations: 13.53 MB / 1.966 GB, free: 406.4 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/3.725, allocations: 5.688 kB / 1.966 GB, free: 406.4 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009526/3.734, allocations: 3.804 MB / 1.97 GB, free: 402.6 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00411/3.738, allocations: 223.9 kB / 1.97 GB, free: 402.4 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.012/3.75, allocations: 1.429 MB / 1.971 GB, free: 400.9 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00188/3.752, allocations: 445.5 kB / 1.972 GB, free: 400.5 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0244/3.777, allocations: 16.84 MB / 1.988 GB, free: 383.7 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02756/3.804, allocations: 26.67 MB / 2.014 GB, free: 356.9 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008678/3.813, allocations: 7.427 MB / 2.021 GB, free: 349.5 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01817/3.831, allocations: 12.6 MB / 2.034 GB, free: 336.9 MB / 1.136 GB Notification: Performance of Backend: time 8.12e-07/3.831, allocations: 0 / 2.034 GB, free: 336.9 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.02848/3.86, allocations: 18.78 MB / 2.052 GB, free: 318.3 MB / 1.136 GB Notification: Performance of SimCode: time 0.09635/3.956, allocations: 57.11 MB / 2.108 GB, free: 261.3 MB / 1.136 GB Notification: Performance of Templates: time 0.8198/4.776, allocations: 391.4 MB / 2.49 GB, free: 401.6 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe 2>&1)