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.001461/0.001462, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 196.3 kB / 16.53 MB, free: 6.699 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7451 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 69.06 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3333, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.8915/1.225, allocations: 200 MB / 1.263 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01092/1.236, allocations: 7.67 MB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/1.238, allocations: 42.94 kB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002215/1.24, allocations: 0.6843 MB / 1.272 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005873/1.246, allocations: 2.028 MB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003344/1.249, allocations: 1.114 MB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004338/1.254, allocations: 2.68 MB / 1.277 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/1.256, allocations: 0.9772 MB / 1.278 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004593/1.26, allocations: 1.565 MB / 1.28 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/1.263, allocations: 0.8131 MB / 1.281 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005262/1.263, allocations: 102.8 kB / 1.281 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005213/1.268, allocations: 1.839 MB / 1.283 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008796/1.269, allocations: 332.4 kB / 1.283 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002219/1.271, allocations: 0.6105 MB / 1.283 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006498/1.278, allocations: 2.12 MB / 1.285 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.278, allocations: 0 / 1.285 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.278, allocations: 5.25 kB / 1.285 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.591e-05/1.278, allocations: 0.9688 kB / 1.285 GB, free: 5.492 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.007671/1.286, allocations: 1.666 MB / 1.287 GB, free: 20.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.286, allocations: 9.547 kB / 1.287 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/1.289, allocations: 432.2 kB / 1.288 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/1.291, allocations: 0.9151 MB / 1.288 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006822/1.292, allocations: 167.7 kB / 1.289 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/1.292, allocations: 70.78 kB / 1.289 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/1.295, allocations: 1.089 MB / 1.29 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.295, allocations: 1.969 kB / 1.29 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.295, allocations: 30.97 kB / 1.29 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/1.295, allocations: 36.78 kB / 1.29 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/1.298, allocations: 1.191 MB / 1.291 GB, free: 20.11 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.007693/1.306, allocations: 4.14 MB / 1.295 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/1.309, allocations: 0.8543 MB / 1.296 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/1.31, allocations: 0.5026 MB / 1.296 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008326/1.311, allocations: 0.6325 MB / 1.297 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/1.313, allocations: 0.5979 MB / 1.298 GB, free: 17.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 3.676e-06/1.313, allocations: 6.281 kB / 1.298 GB, free: 17.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.004468/1.317, allocations: 1.404 MB / 1.299 GB, free: 17.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/1.317, allocations: 84.23 kB / 1.299 GB, free: 17.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/1.319, allocations: 0.8377 MB / 1.3 GB, free: 17.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/1.319, allocations: 37.83 kB / 1.3 GB, free: 17.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/1.319, allocations: 431.5 kB / 1.3 GB, free: 17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/1.319, allocations: 193.3 kB / 1.3 GB, free: 16.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/1.32, allocations: 129.5 kB / 1.301 GB, free: 16.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.32, allocations: 333.2 kB / 1.301 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.321, allocations: 417.8 kB / 1.301 GB, free: 16.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/1.322, allocations: 0.5268 MB / 1.302 GB, free: 16.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/1.325, allocations: 0.8888 MB / 1.303 GB, free: 16.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.325, allocations: 4 kB / 1.303 GB, free: 16.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003331/1.328, allocations: 1.069 MB / 1.304 GB, free: 16.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/1.329, allocations: 31.48 kB / 1.304 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.329, allocations: 1.312 kB / 1.304 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/1.329, allocations: 8.469 kB / 1.304 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.33, allocations: 225.7 kB / 1.304 GB, free: 16.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007285/1.331, allocations: 1.199 MB / 1.305 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.332, allocations: 139.6 kB / 1.305 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.332, allocations: 28.22 kB / 1.305 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001713/1.334, allocations: 0.611 MB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001388/1.335, allocations: 0.5218 MB / 1.306 GB, free: 14.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002576/1.338, allocations: 0.8832 MB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.698e-06/1.338, allocations: 0 / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.003179/1.341, allocations: 1.055 MB / 1.308 GB, free: 14.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/1.341, allocations: 39.55 kB / 1.308 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.341, allocations: 1.5 kB / 1.308 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.341, allocations: 4.188 kB / 1.308 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.342, allocations: 199.2 kB / 1.309 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/1.342, allocations: 11.5 kB / 1.309 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.344, allocations: 127.5 kB / 1.309 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/1.344, allocations: 23.59 kB / 1.309 GB, free: 14.36 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.0003489/1.344, allocations: 219 kB / 1.309 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/1.344, allocations: 98.97 kB / 1.309 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/1.348, allocations: 1.141 MB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.348, allocations: 9.703 kB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.348, allocations: 0 / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.348, allocations: 3 kB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005958/1.354, allocations: 2.329 MB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.354, allocations: 2.562 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/1.355, allocations: 198.4 kB / 1.313 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/1.355, allocations: 6.719 kB / 1.313 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/1.355, allocations: 22.61 kB / 1.313 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006203/1.356, allocations: 1.193 MB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.356, allocations: 5.188 kB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/1.359, allocations: 1.212 MB / 1.315 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/1.36, allocations: 287.1 kB / 1.315 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/1.36, allocations: 17.05 kB / 1.315 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.361, allocations: 108 kB / 1.315 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.361, allocations: 57.7 kB / 1.315 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-05/1.361, allocations: 32.53 kB / 1.315 GB, free: 11.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001073/1.362, allocations: 0.582 MB / 1.316 GB, free: 11.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.362, allocations: 0 / 1.316 GB, free: 11.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002181/1.365, allocations: 491.7 kB / 1.316 GB, free: 11.71 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.0008978/1.366, allocations: 294.7 kB / 1.317 GB, free: 11.58 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005164/1.371, allocations: 1.663 MB / 1.318 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.371, allocations: 4.062 kB / 1.318 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.372, allocations: 0.5587 MB / 1.319 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.375, allocations: 443.7 kB / 1.319 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/1.38, allocations: 1.917 MB / 1.321 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/1.381, allocations: 1.04 MB / 1.322 GB, free: 9.809 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001522/1.382, allocations: 286.3 kB / 1.323 GB, free: 9.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/1.383, allocations: 79.5 kB / 1.323 GB, free: 9.723 MB / 1.014 GB Notification: Performance of SimCode: time 1.232e-06/1.383, allocations: 3.938 kB / 1.323 GB, free: 9.719 MB / 1.014 GB Notification: Performance of Templates: time 0.03653/1.419, allocations: 19.58 MB / 1.342 GB, free: 4.301 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)