Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.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.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009587/0.0009587, allocations: 174.2 kB / 326.5 MB, free: 2.707 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.407/1.407, allocations: 205 MB / 0.5767 GB, free: 21.03 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.0007106/0.0007105, allocations: 86.25 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002926, allocations: 11.94 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.156, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl): time 0.6227/0.7787, allocations: 328 MB / 1.217 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03611/0.8149, allocations: 26.46 MB / 1.243 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005513/0.8204, allocations: 119.2 kB / 1.243 GB, free: 5.188 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005611/0.8261, allocations: 1.566 MB / 1.245 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.8394, allocations: 4.648 MB / 1.249 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.007724/0.8472, allocations: 3.057 MB / 1.252 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.06152/0.9087, allocations: 69.45 MB / 1.32 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02941/0.9381, allocations: 23.66 MB / 1.343 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0243/0.9625, allocations: 13.39 MB / 1.356 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0253/0.9878, allocations: 13.42 MB / 1.369 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.003331/0.9912, allocations: 0.6992 MB / 1.37 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01522/1.006, allocations: 4.319 MB / 1.374 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.005589/1.012, allocations: 4.316 MB / 1.378 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01757/1.03, allocations: 9.487 MB / 1.388 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.9177/1.947, allocations: 40.68 MB / 1.427 GB, free: 92.49 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.947, allocations: 0 / 1.427 GB, free: 92.49 MB / 0.9168 GB Notification: Performance of FrontEnd: time 3.507e-06/1.947, allocations: 0 / 1.427 GB, free: 92.49 MB / 0.9168 GB Notification: Performance of Transformations before backend: time 0.001234/1.949, allocations: 0 / 1.427 GB, free: 92.49 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: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.05288/2.002, allocations: 18.55 MB / 1.445 GB, free: 86.29 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/2.002, allocations: 8.75 kB / 1.445 GB, free: 86.29 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.025/2.027, allocations: 3.616 MB / 1.449 GB, free: 85.36 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05074/2.077, allocations: 25.01 MB / 1.473 GB, free: 82.5 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/2.078, allocations: 0.9067 MB / 1.474 GB, free: 82.47 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008137/2.087, allocations: 1.242 MB / 1.475 GB, free: 82.45 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06744/2.154, allocations: 24.35 MB / 1.499 GB, free: 76.17 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008518/2.155, allocations: 34.52 kB / 1.499 GB, free: 76.16 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007478/2.162, allocations: 496.5 kB / 1.5 GB, free: 76.16 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00062/2.163, allocations: 0.5562 MB / 1.5 GB, free: 76.1 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05139/2.214, allocations: 22.73 MB / 1.522 GB, free: 68.22 MB / 0.9168 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.1507/2.365, allocations: 91.16 MB / 1.611 GB, free: 208 kB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/2.388, allocations: 13.77 MB / 1.625 GB, free: 2.508 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01419/2.402, allocations: 8.68 MB / 1.633 GB, free: 9.82 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/2.404, allocations: 0.9957 MB / 1.634 GB, free: 8.656 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01305/2.417, allocations: 7.358 MB / 1.642 GB, free: 1.246 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009944/2.427, allocations: 1.284 MB / 1.643 GB, free: 15.96 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=708): time 1.766e-05/2.427, allocations: 0 / 1.643 GB, free: 15.96 MB / 0.9793 GB Notification: Performance of matching and sorting (n=720): time 0.07538/2.502, allocations: 35.73 MB / 1.678 GB, free: 12.02 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/2.502, allocations: 206.1 kB / 1.678 GB, free: 11.79 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02654/2.529, allocations: 15.72 MB / 1.693 GB, free: 12.1 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002636/2.532, allocations: 195.3 kB / 1.693 GB, free: 11.9 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.009276/2.541, allocations: 7.097 MB / 1.7 GB, free: 4.805 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.004365/2.545, allocations: 2.617 MB / 1.703 GB, free: 2.207 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/2.547, allocations: 0.774 MB / 1.704 GB, free: 1.426 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/2.547, allocations: 305.1 kB / 1.704 GB, free: 1.125 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009683/2.557, allocations: 6.832 MB / 1.711 GB, free: 10.28 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/2.569, allocations: 9.392 MB / 1.72 GB, free: 88 kB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02191/2.59, allocations: 16.36 MB / 1.736 GB, free: 15.3 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/2.591, allocations: 12 kB / 1.736 GB, free: 15.29 MB / 1.073 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02654/2.617, allocations: 17.47 MB / 1.753 GB, free: 14.01 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008533/2.618, allocations: 1.312 MB / 1.754 GB, free: 12.18 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/2.618, allocations: 36 kB / 1.754 GB, free: 12.14 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/2.619, allocations: 491.4 kB / 1.755 GB, free: 11.66 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007836/2.627, allocations: 2.106 MB / 1.757 GB, free: 9.668 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/2.633, allocations: 6.202 MB / 1.763 GB, free: 3.352 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/2.647, allocations: 1.825 MB / 1.765 GB, free: 1.535 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/2.648, allocations: 327.7 kB / 1.765 GB, free: 1.219 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/2.648, allocations: 4 kB / 1.765 GB, free: 1.215 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02602/2.674, allocations: 16.45 MB / 1.781 GB, free: 0.9922 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/2.674, allocations: 40 kB / 1.781 GB, free: 0.9531 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/2.675, allocations: 492.9 kB / 1.781 GB, free: 484 kB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008731/2.684, allocations: 2.092 MB / 1.783 GB, free: 14.49 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00646/2.69, allocations: 5.613 MB / 1.789 GB, free: 8.777 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01559/2.706, allocations: 1.793 MB / 1.791 GB, free: 6.988 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003138/2.709, allocations: 327.9 kB / 1.791 GB, free: 6.668 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 12 (mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.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 (1032): * Single equations (assignments): 1017 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.7089/3.418, allocations: 10.31 MB / 1.801 GB, free: 0.4889 GB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003754/3.422, allocations: 1.16 MB / 1.802 GB, free: 0.4889 GB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02406/3.446, allocations: 15.34 MB / 1.817 GB, free: 497.4 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01611/3.462, allocations: 12.72 MB / 1.83 GB, free: 493.3 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/3.462, allocations: 0 / 1.83 GB, free: 493.3 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009439/3.471, allocations: 3.618 MB / 1.833 GB, free: 492.3 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003658/3.475, allocations: 215.5 kB / 1.833 GB, free: 492.2 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01131/3.486, allocations: 1.512 MB / 1.835 GB, free: 492.1 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/3.488, allocations: 434.4 kB / 1.835 GB, free: 492 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02389/3.512, allocations: 16.09 MB / 1.851 GB, free: 487.7 MB / 1.12 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02742/3.539, allocations: 24.27 MB / 1.875 GB, free: 473.9 MB / 1.12 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006582/3.546, allocations: 6.901 MB / 1.881 GB, free: 468.3 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01608/3.562, allocations: 11.44 MB / 1.893 GB, free: 459 MB / 1.12 GB Notification: Performance of Backend: time 5.71e-07/3.562, allocations: 0 / 1.893 GB, free: 459 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.02985/3.592, allocations: 19.11 MB / 1.911 GB, free: 440.3 MB / 1.12 GB Notification: Performance of SimCode: time 0.07975/3.672, allocations: 50.83 MB / 1.961 GB, free: 390.1 MB / 1.12 GB Notification: Performance of Templates: time 0.4289/4.1, allocations: 358.6 MB / 2.311 GB, free: 32.18 MB / 1.12 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe 2>&1)