Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001225/0.001226, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.718/2.718, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 60.28 kB / 0.9115 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3551, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.8849/1.24, allocations: 197.4 MB / 1.26 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01158/1.252, allocations: 7.622 MB / 1.268 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/1.254, allocations: 42.62 kB / 1.268 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/1.256, allocations: 0.5958 MB / 1.269 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006377/1.263, allocations: 1.886 MB / 1.27 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/1.266, allocations: 1.033 MB / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004486/1.271, allocations: 2.698 MB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/1.273, allocations: 0.9659 MB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/1.277, allocations: 1.56 MB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/1.28, allocations: 0.8582 MB / 1.277 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003326/1.28, allocations: 106.5 kB / 1.277 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004857/1.285, allocations: 1.9 MB / 1.279 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005608/1.285, allocations: 334.9 kB / 1.28 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/1.287, allocations: 0.609 MB / 1.28 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005345/1.292, allocations: 2.201 MB / 1.282 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.292, allocations: 1.094 kB / 1.282 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.292, allocations: 0.875 kB / 1.282 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.125e-05/1.292, allocations: 0.625 kB / 1.282 GB, free: 5.375 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004981/1.297, allocations: 1.664 MB / 1.284 GB, free: 20.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.297, allocations: 9.5 kB / 1.284 GB, free: 20.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/1.3, allocations: 434.5 kB / 1.284 GB, free: 20.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/1.302, allocations: 0.9168 MB / 1.285 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000629/1.302, allocations: 164.7 kB / 1.285 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/1.302, allocations: 72.56 kB / 1.286 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/1.305, allocations: 1.09 MB / 1.287 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/1.305, allocations: 3.781 kB / 1.287 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/1.305, allocations: 27.59 kB / 1.287 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/1.305, allocations: 32.59 kB / 1.287 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/1.308, allocations: 1.194 MB / 1.288 GB, free: 19.99 MB / 1.014 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.008064/1.316, allocations: 4.113 MB / 1.292 GB, free: 18.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/1.319, allocations: 0.8633 MB / 1.293 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/1.32, allocations: 0.5027 MB / 1.293 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/1.321, allocations: 0.6361 MB / 1.294 GB, free: 17.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/1.323, allocations: 0.5922 MB / 1.294 GB, free: 17.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/1.323, allocations: 0 / 1.294 GB, free: 17.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.004218/1.327, allocations: 1.408 MB / 1.296 GB, free: 17.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/1.327, allocations: 85.3 kB / 1.296 GB, free: 17.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/1.328, allocations: 0.8419 MB / 1.297 GB, free: 17.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.328, allocations: 41.64 kB / 1.297 GB, free: 17.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/1.329, allocations: 426.7 kB / 1.297 GB, free: 16.87 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/1.329, allocations: 190.9 kB / 1.297 GB, free: 16.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/1.329, allocations: 129.8 kB / 1.297 GB, free: 16.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.329, allocations: 330.7 kB / 1.298 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/1.33, allocations: 425.7 kB / 1.298 GB, free: 16.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.332, allocations: 0.5261 MB / 1.299 GB, free: 16.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/1.334, allocations: 0.8914 MB / 1.299 GB, free: 16.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.334, allocations: 0 / 1.299 GB, free: 16.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002981/1.337, allocations: 1.065 MB / 1.301 GB, free: 16.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/1.337, allocations: 35.2 kB / 1.301 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.337, allocations: 1.375 kB / 1.301 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.337, allocations: 3.656 kB / 1.301 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.339, allocations: 221.2 kB / 1.301 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006839/1.339, allocations: 1.198 MB / 1.302 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.341, allocations: 159.8 kB / 1.302 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/1.341, allocations: 38.19 kB / 1.302 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00154/1.342, allocations: 0.6021 MB / 1.303 GB, free: 14.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/1.344, allocations: 0.5263 MB / 1.303 GB, free: 14.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002293/1.346, allocations: 0.8835 MB / 1.304 GB, free: 14.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.688e-06/1.346, allocations: 0 / 1.304 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002913/1.349, allocations: 1.065 MB / 1.305 GB, free: 14.31 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.349, allocations: 31.2 kB / 1.305 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.349, allocations: 2.75 kB / 1.305 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/1.349, allocations: 4.125 kB / 1.305 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.35, allocations: 195 kB / 1.305 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/1.35, allocations: 7.031 kB / 1.305 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.351, allocations: 151.2 kB / 1.306 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/1.351, allocations: 27.98 kB / 1.306 GB, free: 14.25 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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.0003287/1.352, allocations: 222.5 kB / 1.306 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/1.352, allocations: 105.7 kB / 1.306 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/1.355, allocations: 1.137 MB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.355, allocations: 6.219 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.355, allocations: 1.125 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.355, allocations: 8.594 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/1.36, allocations: 2.323 MB / 1.309 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.36, allocations: 3.375 kB / 1.309 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/1.362, allocations: 191.9 kB / 1.309 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-05/1.362, allocations: 7.219 kB / 1.309 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.012e-05/1.362, allocations: 25.77 kB / 1.309 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006649/1.362, allocations: 1.19 MB / 1.311 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.362, allocations: 6.656 kB / 1.311 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/1.365, allocations: 1.208 MB / 1.312 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006973/1.366, allocations: 286.3 kB / 1.312 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/1.366, allocations: 18.06 kB / 1.312 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.368, allocations: 136.8 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/1.368, allocations: 64.84 kB / 1.312 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.85e-05/1.368, allocations: 30.05 kB / 1.312 GB, free: 11.78 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008904/1.369, allocations: 0.5822 MB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.369, allocations: 1.125 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001938/1.371, allocations: 487.6 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0008998/1.372, allocations: 300.9 kB / 1.314 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004827/1.376, allocations: 1.667 MB / 1.315 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.376, allocations: 3.938 kB / 1.315 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/1.378, allocations: 0.5584 MB / 1.316 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/1.38, allocations: 443.9 kB / 1.316 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/1.385, allocations: 2.262 MB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/1.385, allocations: 1.04 MB / 1.319 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001393/1.387, allocations: 290.6 kB / 1.32 GB, free: 9.266 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/1.387, allocations: 87.5 kB / 1.32 GB, free: 9.258 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.387, allocations: 0 / 1.32 GB, free: 9.258 MB / 1.014 GB Notification: Performance of Templates: time 0.03447/1.422, allocations: 19.28 MB / 1.339 GB, free: 4.488 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)