Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008467/0.0008467, allocations: 97.64 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.00499/0.00499, allocations: 169.2 kB / 16.26 MB, free: 6.328 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.738/2.738, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003405, allocations: 14.16 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2717, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.7796/1.051, allocations: 259.9 MB / 1.328 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.026/1.077, allocations: 21.75 MB / 1.349 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/1.082, allocations: 111.4 kB / 1.349 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00418/1.086, allocations: 1.447 MB / 1.351 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/1.096, allocations: 3.694 MB / 1.354 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006125/1.102, allocations: 2.477 MB / 1.357 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01046/1.113, allocations: 9.957 MB / 1.366 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003577/1.117, allocations: 2.396 MB / 1.369 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006236/1.123, allocations: 2.829 MB / 1.372 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/1.126, allocations: 2.062 MB / 1.374 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004755/1.127, allocations: 116.1 kB / 1.374 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/1.133, allocations: 2.578 MB / 1.376 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/1.134, allocations: 0.9197 MB / 1.377 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002388/1.136, allocations: 1.804 MB / 1.379 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008424/1.144, allocations: 6.867 MB / 1.386 GB, free: 14.96 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.145, allocations: 3.938 kB / 1.386 GB, free: 14.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.308e-06/1.145, allocations: 6.469 kB / 1.386 GB, free: 14.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001528/1.145, allocations: 3.938 kB / 1.386 GB, free: 14.95 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.007198/1.152, allocations: 3.943 MB / 1.389 GB, free: 11.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.152, allocations: 12.11 kB / 1.389 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/1.154, allocations: 0.5348 MB / 1.39 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005553/1.16, allocations: 3.182 MB / 1.393 GB, free: 9.332 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.16, allocations: 164.9 kB / 1.393 GB, free: 9.262 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/1.16, allocations: 231.2 kB / 1.393 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/1.165, allocations: 2.582 MB / 1.396 GB, free: 7.637 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.198e-05/1.165, allocations: 2.938 kB / 1.396 GB, free: 7.637 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/1.165, allocations: 91.03 kB / 1.396 GB, free: 7.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/1.165, allocations: 78.38 kB / 1.396 GB, free: 7.559 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/1.169, allocations: 2 MB / 1.398 GB, free: 6.555 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.01463/1.183, allocations: 10.74 MB / 1.409 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/1.186, allocations: 1.531 MB / 1.41 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.187, allocations: 1.041 MB / 1.411 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009497/1.188, allocations: 1.175 MB / 1.412 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.188, allocations: 50.55 kB / 1.412 GB, free: 10.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=124): time 5.33e-06/1.188, allocations: 3.984 kB / 1.412 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=132): time 0.01072/1.199, allocations: 6.2 MB / 1.418 GB, free: 6.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/1.199, allocations: 234.6 kB / 1.419 GB, free: 6.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/1.204, allocations: 3.443 MB / 1.422 GB, free: 2.684 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002878/1.205, allocations: 57.7 kB / 1.422 GB, free: 2.621 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/1.206, allocations: 1.473 MB / 1.423 GB, free: 1.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000513/1.207, allocations: 458.8 kB / 1.424 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/1.207, allocations: 145.6 kB / 1.424 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.207, allocations: 309 kB / 1.424 GB, free: 248 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/1.209, allocations: 1.105 MB / 1.425 GB, free: 15.14 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/1.211, allocations: 1.497 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.01053/1.221, allocations: 6.974 MB / 1.434 GB, free: 6.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.221, allocations: 4 kB / 1.434 GB, free: 6.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005123/1.226, allocations: 3.362 MB / 1.437 GB, free: 2.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004296/1.227, allocations: 0.6513 MB / 1.438 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.227, allocations: 12 kB / 1.438 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/1.227, allocations: 89.67 kB / 1.438 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.228, allocations: 287.4 kB / 1.438 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/1.231, allocations: 3.025 MB / 1.441 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/1.233, allocations: 187.6 kB / 1.441 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/1.234, allocations: 75.98 kB / 1.441 GB, free: 13.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/1.234, allocations: 4 kB / 1.441 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004754/1.238, allocations: 3.454 MB / 1.445 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.238, allocations: 4 kB / 1.445 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/1.239, allocations: 94.2 kB / 1.445 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.24, allocations: 275.6 kB / 1.445 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/1.242, allocations: 3.01 MB / 1.448 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.245, allocations: 191.7 kB / 1.448 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.245, allocations: 71.97 kB / 1.448 GB, free: 6.535 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.001884/1.247, allocations: 1.119 MB / 1.449 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/1.248, allocations: 328 kB / 1.449 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/1.252, allocations: 2.539 MB / 1.452 GB, free: 2.469 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.252, allocations: 12 kB / 1.452 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.252, allocations: 3.938 kB / 1.452 GB, free: 2.453 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00289/1.254, allocations: 2.241 MB / 1.454 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009189/1.264, allocations: 5.923 MB / 1.46 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.264, allocations: 4 kB / 1.46 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.265, allocations: 256.3 kB / 1.46 GB, free: 9.812 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/1.265, allocations: 12 kB / 1.46 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.265, allocations: 36 kB / 1.46 GB, free: 9.766 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/1.265, allocations: 19.92 kB / 1.46 GB, free: 9.746 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.265, allocations: 4 kB / 1.46 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/1.271, allocations: 4 MB / 1.464 GB, free: 5.613 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.272, allocations: 0.7038 MB / 1.465 GB, free: 4.887 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005342/1.273, allocations: 40 kB / 1.465 GB, free: 4.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.274, allocations: 151.7 kB / 1.465 GB, free: 4.699 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/1.275, allocations: 164.7 kB / 1.465 GB, free: 4.539 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.275, allocations: 55.97 kB / 1.465 GB, free: 4.484 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.004058/1.279, allocations: 2.385 MB / 1.468 GB, free: 2.113 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.279, allocations: 0 / 1.468 GB, free: 2.113 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00395/1.283, allocations: 1.254 MB / 1.469 GB, free: 0.8594 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.001149/1.284, allocations: 0.5906 MB / 1.469 GB, free: 312 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007052/1.291, allocations: 6.127 MB / 1.475 GB, free: 9.836 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.291, allocations: 3.938 kB / 1.475 GB, free: 9.832 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002387/1.294, allocations: 1.894 MB / 1.477 GB, free: 7.867 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/1.304, allocations: 1.617 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.01027/1.314, allocations: 7.433 MB / 1.486 GB, free: 14.74 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/1.316, allocations: 2.096 MB / 1.488 GB, free: 12.61 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002726/1.319, allocations: 0.6593 MB / 1.489 GB, free: 11.96 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/1.319, allocations: 215.3 kB / 1.489 GB, free: 11.75 MB / 1.107 GB Notification: Performance of SimCode: time 9.62e-07/1.319, allocations: 0 / 1.489 GB, free: 11.75 MB / 1.107 GB Notification: Performance of Templates: time 0.1091/1.429, allocations: 68.28 MB / 1.556 GB, free: 8.191 MB / 1.17 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)