Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001547/0.001547, 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.002029/0.002029, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.361/1.361, 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.826/2.826, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 62.19 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3063, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.8429/1.149, allocations: 200 MB / 1.263 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01478/1.164, allocations: 7.667 MB / 1.271 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/1.167, allocations: 45.38 kB / 1.271 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/1.169, allocations: 0.6836 MB / 1.272 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008439/1.178, allocations: 2.02 MB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004721/1.183, allocations: 1.119 MB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005582/1.188, allocations: 2.682 MB / 1.277 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002765/1.191, allocations: 0.9681 MB / 1.278 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008765/1.2, allocations: 1.558 MB / 1.28 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005233/1.205, allocations: 0.8248 MB / 1.281 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/1.206, allocations: 103.7 kB / 1.281 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00925/1.215, allocations: 1.834 MB / 1.282 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001236/1.217, allocations: 334 kB / 1.283 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002807/1.22, allocations: 0.6113 MB / 1.283 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007651/1.227, allocations: 2.122 MB / 1.285 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.227, allocations: 0 / 1.285 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/1.227, allocations: 2.25 kB / 1.285 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.348e-05/1.227, allocations: 0 / 1.285 GB, free: 5.398 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.00548/1.233, allocations: 1.667 MB / 1.287 GB, free: 20.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.233, allocations: 10.06 kB / 1.287 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/1.235, allocations: 432.9 kB / 1.288 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/1.237, allocations: 0.9149 MB / 1.288 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006477/1.238, allocations: 168.7 kB / 1.289 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.238, allocations: 68.75 kB / 1.289 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/1.241, allocations: 1.091 MB / 1.29 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/1.241, allocations: 0 / 1.29 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/1.241, allocations: 32.31 kB / 1.29 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/1.241, allocations: 32.56 kB / 1.29 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00323/1.244, allocations: 1.191 MB / 1.291 GB, free: 20.01 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.00693/1.251, allocations: 4.142 MB / 1.295 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.254, allocations: 0.8582 MB / 1.296 GB, free: 18.17 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/1.255, allocations: 0.5023 MB / 1.296 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008683/1.256, allocations: 0.6348 MB / 1.297 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/1.257, allocations: 0.5939 MB / 1.298 GB, free: 17.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.826e-06/1.257, allocations: 0 / 1.298 GB, free: 17.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.004624/1.262, allocations: 1.407 MB / 1.299 GB, free: 17.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/1.262, allocations: 85.11 kB / 1.299 GB, free: 17.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.263, allocations: 0.8383 MB / 1.3 GB, free: 17.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/1.264, allocations: 38.11 kB / 1.3 GB, free: 17.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/1.264, allocations: 434 kB / 1.3 GB, free: 16.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/1.264, allocations: 191 kB / 1.3 GB, free: 16.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.264, allocations: 127.2 kB / 1.301 GB, free: 16.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.264, allocations: 330.7 kB / 1.301 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.266, allocations: 421.6 kB / 1.301 GB, free: 16.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/1.267, allocations: 0.5307 MB / 1.302 GB, free: 16.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/1.27, allocations: 0.8892 MB / 1.303 GB, free: 16.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.27, allocations: 0 / 1.303 GB, free: 16.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003097/1.273, allocations: 1.063 MB / 1.304 GB, free: 16.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.273, allocations: 34.33 kB / 1.304 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.273, allocations: 1.281 kB / 1.304 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.273, allocations: 9.797 kB / 1.304 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.274, allocations: 232.5 kB / 1.304 GB, free: 16.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000657/1.275, allocations: 1.191 MB / 1.305 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.276, allocations: 146.5 kB / 1.305 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/1.276, allocations: 29.86 kB / 1.305 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00163/1.278, allocations: 0.6091 MB / 1.306 GB, free: 14.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001344/1.279, allocations: 0.5184 MB / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002456/1.282, allocations: 0.8844 MB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/1.282, allocations: 1.125 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.003017/1.285, allocations: 1.062 MB / 1.308 GB, free: 14.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/1.285, allocations: 32.92 kB / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.285, allocations: 5.188 kB / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/1.285, allocations: 4.562 kB / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.286, allocations: 197.8 kB / 1.309 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.286, allocations: 7.734 kB / 1.309 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.287, allocations: 126.3 kB / 1.309 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/1.287, allocations: 29.98 kB / 1.309 GB, free: 14.27 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.0003133/1.288, allocations: 219.6 kB / 1.309 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/1.288, allocations: 101.1 kB / 1.309 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/1.291, allocations: 1.129 MB / 1.31 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/1.291, allocations: 10.62 kB / 1.31 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.291, allocations: 0 / 1.31 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.291, allocations: 3.047 kB / 1.31 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/1.296, allocations: 2.331 MB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.296, allocations: 6.656 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009996/1.297, allocations: 203 kB / 1.313 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.297, allocations: 3.625 kB / 1.313 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/1.297, allocations: 21.22 kB / 1.313 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000563/1.297, allocations: 1.195 MB / 1.314 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.297, allocations: 6.594 kB / 1.314 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/1.3, allocations: 1.207 MB / 1.315 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/1.301, allocations: 283.1 kB / 1.315 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.301, allocations: 25.12 kB / 1.315 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.302, allocations: 104.2 kB / 1.315 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.302, allocations: 62.3 kB / 1.315 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/1.302, allocations: 30.95 kB / 1.315 GB, free: 11.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008589/1.303, allocations: 0.5856 MB / 1.316 GB, free: 11.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.303, allocations: 0 / 1.316 GB, free: 11.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001534/1.305, allocations: 484.9 kB / 1.316 GB, free: 11.62 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.0007139/1.305, allocations: 307.5 kB / 1.317 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004817/1.31, allocations: 1.658 MB / 1.318 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.31, allocations: 0 / 1.318 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.312, allocations: 0.5572 MB / 1.319 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/1.314, allocations: 443.8 kB / 1.319 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/1.319, allocations: 1.913 MB / 1.321 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/1.319, allocations: 1.043 MB / 1.322 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001302/1.321, allocations: 288.1 kB / 1.323 GB, free: 9.645 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/1.321, allocations: 87.19 kB / 1.323 GB, free: 9.633 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.321, allocations: 0 / 1.323 GB, free: 9.633 MB / 1.014 GB Notification: Performance of Templates: time 0.02974/1.351, allocations: 19.56 MB / 1.342 GB, free: 4.242 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)