Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.24/2.24, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001372/0.001372, allocations: 192.3 kB / 326.3 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.346/2.346, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0009525/0.0009524, allocations: 94.56 kB / 0.6817 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1963, allocations: 106.3 MB / 0.8995 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl): time 1.212/1.408, allocations: 368.6 MB / 1.259 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.05622/1.465, allocations: 25.4 MB / 1.284 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005532/1.47, allocations: 119.2 kB / 1.284 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.006764/1.477, allocations: 1.269 MB / 1.286 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01806/1.495, allocations: 3.893 MB / 1.289 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01149/1.507, allocations: 2.353 MB / 1.292 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.1101/1.617, allocations: 62.33 MB / 1.353 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05618/1.673, allocations: 24.6 MB / 1.377 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03904/1.712, allocations: 13.56 MB / 1.39 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03456/1.747, allocations: 13.5 MB / 1.403 GB, free: 56 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.8288/2.576, allocations: 0.7401 MB / 1.404 GB, free: 67.86 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/2.594, allocations: 2.78 MB / 1.406 GB, free: 67.86 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.01295/2.607, allocations: 4.486 MB / 1.411 GB, free: 67.86 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01524/2.622, allocations: 4.714 MB / 1.415 GB, free: 67.83 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0576/2.68, allocations: 39.97 MB / 1.454 GB, free: 66.46 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/2.68, allocations: 0 / 1.454 GB, free: 66.46 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.046e-06/2.68, allocations: 0 / 1.454 GB, free: 66.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001331/2.682, allocations: 0 / 1.454 GB, free: 66.46 MB / 0.9167 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.1266/2.808, allocations: 20.73 MB / 1.475 GB, free: 59.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/2.808, allocations: 9.781 kB / 1.475 GB, free: 59.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03886/2.847, allocations: 4.253 MB / 1.479 GB, free: 57.54 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08952/2.937, allocations: 29.42 MB / 1.508 GB, free: 50.44 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001485/2.938, allocations: 1.031 MB / 1.509 GB, free: 50.41 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009728/2.948, allocations: 1.398 MB / 1.51 GB, free: 50.39 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1016/3.05, allocations: 28.08 MB / 1.537 GB, free: 43.21 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001072/3.051, allocations: 32.14 kB / 1.537 GB, free: 43.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008828/3.06, allocations: 0.5596 MB / 1.538 GB, free: 43.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008983/3.06, allocations: 0.622 MB / 1.539 GB, free: 43.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08402/3.145, allocations: 26.23 MB / 1.564 GB, free: 32.93 MB / 0.9167 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.2578/3.402, allocations: 100.7 MB / 1.663 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03689/3.439, allocations: 13.04 MB / 1.675 GB, free: 7.871 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02617/3.466, allocations: 9.883 MB / 1.685 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002705/3.468, allocations: 1.015 MB / 1.686 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02563/3.494, allocations: 8.025 MB / 1.694 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01574/3.51, allocations: 1.417 MB / 1.695 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=778): time 3.058e-05/3.51, allocations: 0 / 1.695 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of matching and sorting (n=780): time 0.1551/3.665, allocations: 38.02 MB / 1.732 GB, free: 6.957 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002631/3.665, allocations: 214.6 kB / 1.732 GB, free: 6.715 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08011/3.745, allocations: 17.07 MB / 1.749 GB, free: 5.691 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.004502/3.75, allocations: 193.7 kB / 1.749 GB, free: 5.496 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.02061/3.771, allocations: 8.142 MB / 1.757 GB, free: 13.35 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.007143/3.778, allocations: 2.81 MB / 1.76 GB, free: 10.56 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003004/3.781, allocations: 168 kB / 1.76 GB, free: 10.4 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001456/3.782, allocations: 0.7158 MB / 1.761 GB, free: 9.676 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0219/3.804, allocations: 6.941 MB / 1.768 GB, free: 2.723 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02638/3.831, allocations: 9.767 MB / 1.777 GB, free: 8.012 MB / 1.073 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 1.541/5.372, allocations: 28.26 MB / 1.805 GB, free: 433.9 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.657e-05/5.372, allocations: 16.78 kB / 1.805 GB, free: 433.9 MB / 1.073 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.05361/5.426, allocations: 17.68 MB / 1.822 GB, free: 433.4 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009397/5.427, allocations: 1.63 MB / 1.824 GB, free: 431.4 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.85e-05/5.427, allocations: 48.94 kB / 1.824 GB, free: 431.4 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/5.427, allocations: 91.97 kB / 1.824 GB, free: 431.4 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02053/5.448, allocations: 2.286 MB / 1.826 GB, free: 431.3 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009476/5.449, allocations: 1.297 MB / 1.827 GB, free: 430.1 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02449/5.473, allocations: 1.694 MB / 1.829 GB, free: 430 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003017/5.476, allocations: 348.2 kB / 1.829 GB, free: 430 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/5.477, allocations: 5.406 kB / 1.829 GB, free: 430 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04805/5.525, allocations: 16.51 MB / 1.845 GB, free: 424.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/5.525, allocations: 48 kB / 1.845 GB, free: 424.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/5.525, allocations: 90.84 kB / 1.846 GB, free: 424.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01978/5.545, allocations: 2.262 MB / 1.848 GB, free: 424.6 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002274/5.545, allocations: 118.9 kB / 1.848 GB, free: 424.6 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02396/5.569, allocations: 1.658 MB / 1.849 GB, free: 424.4 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003175/5.572, allocations: 345.1 kB / 1.85 GB, free: 424.3 MB / 1.073 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 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.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.02938/5.602, allocations: 11.57 MB / 1.861 GB, free: 420.8 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006807/5.608, allocations: 1.336 MB / 1.862 GB, free: 420.8 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0557/5.664, allocations: 16.55 MB / 1.879 GB, free: 408.7 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03974/5.704, allocations: 13.49 MB / 1.892 GB, free: 395.1 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/5.704, allocations: 3.375 kB / 1.892 GB, free: 395.1 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01627/5.72, allocations: 3.846 MB / 1.896 GB, free: 391.9 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007327/5.728, allocations: 222.7 kB / 1.896 GB, free: 391.7 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02242/5.75, allocations: 1.424 MB / 1.897 GB, free: 390.3 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003233/5.754, allocations: 445.5 kB / 1.898 GB, free: 389.9 MB / 1.073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05577/5.809, allocations: 16.78 MB / 1.914 GB, free: 373.2 MB / 1.073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07165/5.881, allocations: 26.6 MB / 1.94 GB, free: 346.6 MB / 1.073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01667/5.898, allocations: 7.387 MB / 1.947 GB, free: 339.2 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.03608/5.934, allocations: 12.49 MB / 1.959 GB, free: 326.7 MB / 1.073 GB Notification: Performance of Backend: time 8.42e-07/5.934, allocations: 0 / 1.959 GB, free: 326.7 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06483/5.999, allocations: 18.67 MB / 1.978 GB, free: 308.2 MB / 1.073 GB Notification: Performance of SimCode: time 0.1744/6.173, allocations: 56.26 MB / 2.032 GB, free: 252.1 MB / 1.073 GB Notification: Performance of Templates: time 2.315/8.488, allocations: 383.9 MB / 2.407 GB, free: 331.8 MB / 1.073 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe 2>&1)