Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 289.7 MB / 302.3 MB, free: 2.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 186 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 94.34 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.481e-05/4.485e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.257, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.698/6.955, allocations: 2.345 GB / 3.325 GB, free: 257 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/6.955, allocations: 100.8 kB / 3.325 GB, free: 256.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.398/11.35, allocations: 1.233 GB / 4.558 GB, free: 68.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.104e-06/11.35, allocations: 3.938 kB / 4.558 GB, free: 68.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003665/11.35, allocations: 86.73 kB / 4.558 GB, free: 68.16 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.008232/11.36, allocations: 3.469 MB / 4.562 GB, free: 65.55 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/11.36, allocations: 10.94 kB / 4.562 GB, free: 65.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/11.36, allocations: 0.5102 MB / 4.562 GB, free: 65.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00613/11.37, allocations: 3.284 MB / 4.565 GB, free: 63.03 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/11.37, allocations: 157.3 kB / 4.565 GB, free: 62.96 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/11.37, allocations: 206 kB / 4.566 GB, free: 62.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/11.37, allocations: 2.37 MB / 4.568 GB, free: 61.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/11.37, allocations: 12.19 kB / 4.568 GB, free: 61.56 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/11.37, allocations: 81.59 kB / 4.568 GB, free: 61.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/11.37, allocations: 66.39 kB / 4.568 GB, free: 61.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/11.38, allocations: 1.827 MB / 4.57 GB, free: 60.66 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01385/11.39, allocations: 9.822 MB / 4.579 GB, free: 52.85 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/11.39, allocations: 1.336 MB / 4.581 GB, free: 52.19 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/11.39, allocations: 0.9273 MB / 4.582 GB, free: 51.76 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008015/11.4, allocations: 1.176 MB / 4.583 GB, free: 50.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/11.4, allocations: 55.3 kB / 4.583 GB, free: 50.34 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=113): time 3.837e-06/11.4, allocations: 2.5 kB / 4.583 GB, free: 50.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115): time 0.007868/11.4, allocations: 4.846 MB / 4.588 GB, free: 47.33 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/11.4, allocations: 285 kB / 4.588 GB, free: 47.01 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/11.41, allocations: 2.975 MB / 4.591 GB, free: 45.55 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003563/11.41, allocations: 60.27 kB / 4.591 GB, free: 45.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/11.41, allocations: 1.41 MB / 4.592 GB, free: 44.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/11.41, allocations: 394 kB / 4.593 GB, free: 43.93 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/11.41, allocations: 23.16 kB / 4.593 GB, free: 43.92 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001134/11.41, allocations: 366.7 kB / 4.593 GB, free: 43.57 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/11.41, allocations: 0.9908 MB / 4.594 GB, free: 43.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/11.41, allocations: 1.416 MB / 4.595 GB, free: 42.14 MB / 0.9636 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/11.42, allocations: 2.923 MB / 4.598 GB, free: 40.28 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/11.42, allocations: 3.938 kB / 4.598 GB, free: 40.28 MB / 0.9636 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004484/11.42, allocations: 3.017 MB / 4.601 GB, free: 37.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000808/11.42, allocations: 2.923 MB / 4.604 GB, free: 34.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/11.42, allocations: 8 kB / 4.604 GB, free: 34.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/11.42, allocations: 12 kB / 4.604 GB, free: 34.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/11.42, allocations: 253.8 kB / 4.604 GB, free: 33.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003224/11.42, allocations: 0.6231 MB / 4.605 GB, free: 33.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/11.43, allocations: 177.4 kB / 4.605 GB, free: 33.03 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/11.43, allocations: 79.97 kB / 4.605 GB, free: 32.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/11.43, allocations: 4 kB / 4.605 GB, free: 32.95 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003225/11.43, allocations: 3.123 MB / 4.608 GB, free: 29.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/11.43, allocations: 8 kB / 4.608 GB, free: 29.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/11.43, allocations: 12 kB / 4.608 GB, free: 29.74 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/11.43, allocations: 249.8 kB / 4.608 GB, free: 29.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/11.43, allocations: 15.94 kB / 4.608 GB, free: 29.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/11.43, allocations: 185.1 kB / 4.609 GB, free: 29.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/11.43, allocations: 75.98 kB / 4.609 GB, free: 29.24 MB / 0.9636 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: 26 * Number of states: 0 () * Number of discrete variables: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004686/11.43, allocations: 392.3 kB / 4.609 GB, free: 28.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/11.44, allocations: 308.2 kB / 4.609 GB, free: 28.52 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/11.44, allocations: 2.308 MB / 4.612 GB, free: 26.16 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/11.44, allocations: 15.98 kB / 4.612 GB, free: 26.15 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/11.44, allocations: 1 kB / 4.612 GB, free: 26.15 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002116/11.44, allocations: 2.093 MB / 4.614 GB, free: 23.97 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008295/11.45, allocations: 5.557 MB / 4.619 GB, free: 18.28 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/11.45, allocations: 4 kB / 4.619 GB, free: 18.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009139/11.45, allocations: 225.9 kB / 4.619 GB, free: 18.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/11.45, allocations: 8 kB / 4.619 GB, free: 18.05 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/11.45, allocations: 36 kB / 4.619 GB, free: 18.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002141/11.45, allocations: 0.6113 MB / 4.62 GB, free: 17.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/11.45, allocations: 15.89 kB / 4.62 GB, free: 17.36 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/11.45, allocations: 4.36 MB / 4.624 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/11.46, allocations: 0.6767 MB / 4.625 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/11.46, allocations: 40 kB / 4.625 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/11.46, allocations: 154.8 kB / 4.625 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/11.46, allocations: 151.4 kB / 4.625 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/11.46, allocations: 58.23 kB / 4.625 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003247/11.46, allocations: 2.303 MB / 4.628 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.31e-07/11.46, allocations: 0 / 4.628 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004649/11.47, allocations: 1.464 MB / 4.629 GB, free: 7.895 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],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.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004161/11.47, allocations: 2.881 MB / 4.632 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005475/11.48, allocations: 5.363 MB / 4.637 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/11.48, allocations: 4 kB / 4.637 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/11.48, allocations: 1.833 MB / 4.639 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/11.49, allocations: 1.595 MB / 4.64 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/11.5, allocations: 4.885 MB / 4.645 GB, free: 7.176 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/11.5, allocations: 2.08 MB / 4.647 GB, free: 5.07 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004547/11.51, allocations: 1.047 MB / 4.648 GB, free: 4.066 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/11.51, allocations: 151.4 kB / 4.648 GB, free: 3.918 MB / 0.9792 GB Notification: Performance of SimCode: time 7.62e-07/11.51, allocations: 0 / 4.648 GB, free: 3.918 MB / 0.9792 GB Notification: Performance of Templates: time 0.8572/12.37, allocations: 97.98 MB / 4.744 GB, free: 106.6 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)