Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001055, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008086/0.008086, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 9.281 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2619, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.7535/1.015, allocations: 259.9 MB / 1.328 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02769/1.043, allocations: 21.75 MB / 1.349 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004655/1.048, allocations: 112.2 kB / 1.349 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00533/1.053, allocations: 1.447 MB / 1.351 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01367/1.067, allocations: 3.691 MB / 1.354 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008211/1.075, allocations: 2.473 MB / 1.357 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01427/1.089, allocations: 9.965 MB / 1.366 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004931/1.094, allocations: 2.397 MB / 1.369 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007141/1.102, allocations: 2.831 MB / 1.372 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00416/1.106, allocations: 2.059 MB / 1.374 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008661/1.107, allocations: 115.4 kB / 1.374 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006132/1.113, allocations: 2.578 MB / 1.376 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/1.114, allocations: 0.9142 MB / 1.377 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002901/1.117, allocations: 1.808 MB / 1.379 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008365/1.125, allocations: 6.872 MB / 1.386 GB, free: 14.96 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.125, allocations: 3 kB / 1.386 GB, free: 14.96 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/1.125, allocations: 0 / 1.386 GB, free: 14.96 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001133/1.125, allocations: 0 / 1.386 GB, free: 14.96 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.006808/1.132, allocations: 3.946 MB / 1.389 GB, free: 11.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/1.132, allocations: 8.344 kB / 1.389 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/1.134, allocations: 0.5347 MB / 1.39 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/1.14, allocations: 3.185 MB / 1.393 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/1.14, allocations: 162 kB / 1.393 GB, free: 9.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/1.14, allocations: 220 kB / 1.393 GB, free: 9.199 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/1.144, allocations: 2.59 MB / 1.396 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.882e-05/1.144, allocations: 6.812 kB / 1.396 GB, free: 7.645 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/1.145, allocations: 91.22 kB / 1.396 GB, free: 7.578 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/1.145, allocations: 78.19 kB / 1.396 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/1.148, allocations: 1.997 MB / 1.398 GB, free: 6.566 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.01486/1.163, allocations: 10.74 MB / 1.409 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/1.165, allocations: 1.537 MB / 1.41 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/1.166, allocations: 1.041 MB / 1.411 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/1.167, allocations: 1.18 MB / 1.412 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/1.167, allocations: 45.47 kB / 1.412 GB, free: 11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=124): time 3.236e-06/1.168, allocations: 0 / 1.412 GB, free: 11 MB / 1.029 GB Notification: Performance of matching and sorting (n=132): time 0.01047/1.178, allocations: 6.195 MB / 1.418 GB, free: 6.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.178, allocations: 238.6 kB / 1.419 GB, free: 6.129 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005023/1.183, allocations: 3.439 MB / 1.422 GB, free: 2.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002255/1.183, allocations: 61.7 kB / 1.422 GB, free: 2.633 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.185, allocations: 1.478 MB / 1.423 GB, free: 1.145 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004287/1.185, allocations: 460.3 kB / 1.424 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/1.185, allocations: 153.5 kB / 1.424 GB, free: 0.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.168e-05/1.185, allocations: 305.1 kB / 1.424 GB, free: 248 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.187, allocations: 1.102 MB / 1.425 GB, free: 15.14 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/1.189, allocations: 1.501 MB / 1.427 GB, free: 13.51 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009919/1.199, allocations: 6.974 MB / 1.434 GB, free: 6.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.199, allocations: 0 / 1.434 GB, free: 6.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004687/1.203, allocations: 3.37 MB / 1.437 GB, free: 2.727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003438/1.204, allocations: 0.6507 MB / 1.438 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.204, allocations: 8 kB / 1.438 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/1.204, allocations: 85.61 kB / 1.438 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.205, allocations: 283.5 kB / 1.438 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/1.208, allocations: 3.025 MB / 1.441 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.21, allocations: 195.6 kB / 1.441 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/1.21, allocations: 67.98 kB / 1.441 GB, free: 13.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.523e-06/1.21, allocations: 7.938 kB / 1.441 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004359/1.214, allocations: 3.458 MB / 1.445 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.214, allocations: 12.16 kB / 1.445 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/1.215, allocations: 81.67 kB / 1.445 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.216, allocations: 275.6 kB / 1.445 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.218, allocations: 3.021 MB / 1.448 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/1.22, allocations: 191.8 kB / 1.448 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/1.22, allocations: 71.98 kB / 1.448 GB, free: 6.527 MB / 1.061 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001707/1.222, allocations: 1.108 MB / 1.449 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/1.223, allocations: 320 kB / 1.449 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/1.226, allocations: 2.536 MB / 1.452 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/1.226, allocations: 12 kB / 1.452 GB, free: 2.469 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.226, allocations: 7.938 kB / 1.452 GB, free: 2.461 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002874/1.229, allocations: 2.245 MB / 1.454 GB, free: 136 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008671/1.238, allocations: 5.926 MB / 1.46 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.238, allocations: 4.719 kB / 1.46 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.239, allocations: 251.7 kB / 1.46 GB, free: 9.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/1.239, allocations: 12 kB / 1.46 GB, free: 9.809 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.239, allocations: 47.92 kB / 1.46 GB, free: 9.762 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/1.239, allocations: 11.94 kB / 1.46 GB, free: 9.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.239, allocations: 8 kB / 1.46 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005192/1.244, allocations: 3.992 MB / 1.464 GB, free: 5.621 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/1.246, allocations: 0.7156 MB / 1.465 GB, free: 4.883 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/1.246, allocations: 40 kB / 1.465 GB, free: 4.844 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.248, allocations: 149.4 kB / 1.465 GB, free: 4.699 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.248, allocations: 164.7 kB / 1.465 GB, free: 4.539 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.249, allocations: 56.09 kB / 1.465 GB, free: 4.484 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003724/1.252, allocations: 2.385 MB / 1.468 GB, free: 2.113 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.252, allocations: 0 / 1.468 GB, free: 2.113 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003558/1.256, allocations: 1.25 MB / 1.469 GB, free: 0.8633 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 6 (conHea.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/1.257, allocations: 0.5906 MB / 1.469 GB, free: 312 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006568/1.264, allocations: 6.129 MB / 1.475 GB, free: 9.832 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.264, allocations: 5.125 kB / 1.475 GB, free: 9.828 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/1.266, allocations: 1.892 MB / 1.477 GB, free: 7.863 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009849/1.276, allocations: 1.612 MB / 1.479 GB, free: 6.27 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.286, allocations: 7.436 MB / 1.486 GB, free: 14.74 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/1.288, allocations: 2.103 MB / 1.488 GB, free: 12.61 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002662/1.291, allocations: 0.6657 MB / 1.489 GB, free: 11.95 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/1.291, allocations: 207.4 kB / 1.489 GB, free: 11.75 MB / 1.107 GB Notification: Performance of SimCode: time 6.21e-07/1.291, allocations: 0 / 1.489 GB, free: 11.75 MB / 1.107 GB Notification: Performance of Templates: time 0.1047/1.396, allocations: 68.28 MB / 1.556 GB, free: 8.188 MB / 1.17 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)