Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001062/0.001062, allocations: 187.3 kB / 371.8 MB, free: 10.25 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.638/1.638, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 82.67 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 16.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.149/5.394, allocations: 2.344 GB / 3.324 GB, free: 270.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/5.394, allocations: 107.4 kB / 3.324 GB, free: 270.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.268/9.663, allocations: 1.24 GB / 4.564 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.675e-06/9.663, allocations: 2.25 kB / 4.564 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006913/9.663, allocations: 90.92 kB / 4.564 GB, free: 104.8 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01929/9.683, allocations: 4.32 MB / 4.568 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.952e-05/9.683, allocations: 9.938 kB / 4.568 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002337/9.685, allocations: 293.4 kB / 4.568 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/9.691, allocations: 0.5343 MB / 4.569 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/9.703, allocations: 3.419 MB / 4.572 GB, free: 98.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/9.703, allocations: 164 kB / 4.572 GB, free: 98.59 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/9.704, allocations: 222.3 kB / 4.572 GB, free: 98.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007926/9.712, allocations: 2.583 MB / 4.575 GB, free: 96.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/9.712, allocations: 7.781 kB / 4.575 GB, free: 96.95 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006454/9.713, allocations: 86.38 kB / 4.575 GB, free: 96.89 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.579e-05/9.713, allocations: 70.48 kB / 4.575 GB, free: 96.89 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004965/9.718, allocations: 2.023 MB / 4.577 GB, free: 95.88 MB / 0.9636 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.0214/9.739, allocations: 10.5 MB / 4.587 GB, free: 87.49 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/9.742, allocations: 1.544 MB / 4.589 GB, free: 86.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009696/9.743, allocations: 1.183 MB / 4.59 GB, free: 85.36 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/9.743, allocations: 51.44 kB / 4.59 GB, free: 85.31 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 4.198e-06/9.743, allocations: 0 / 4.59 GB, free: 85.31 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.01368/9.757, allocations: 6.793 MB / 4.597 GB, free: 80.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/9.757, allocations: 344.5 kB / 4.597 GB, free: 80.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008264/9.766, allocations: 3.085 MB / 4.6 GB, free: 78.98 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006406/9.766, allocations: 61.03 kB / 4.6 GB, free: 78.93 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/9.768, allocations: 1.474 MB / 4.602 GB, free: 77.64 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008333/9.769, allocations: 457 kB / 4.602 GB, free: 77.26 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/9.769, allocations: 31 kB / 4.602 GB, free: 77.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001792/9.77, allocations: 364.3 kB / 4.602 GB, free: 76.89 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/9.772, allocations: 1.087 MB / 4.603 GB, free: 76.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/9.774, allocations: 1.517 MB / 4.605 GB, free: 75.3 MB / 0.9636 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.007998/9.782, allocations: 4.274 MB / 4.609 GB, free: 71.07 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/9.782, allocations: 0 / 4.609 GB, free: 71.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006006/9.788, allocations: 3.336 MB / 4.612 GB, free: 67.66 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000826/9.789, allocations: 2.929 MB / 4.615 GB, free: 64.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/9.789, allocations: 4 kB / 4.615 GB, free: 64.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/9.789, allocations: 154.7 kB / 4.615 GB, free: 64.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/9.791, allocations: 265.6 kB / 4.616 GB, free: 64.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008836/9.791, allocations: 1.296 MB / 4.617 GB, free: 62.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/9.795, allocations: 193.8 kB / 4.617 GB, free: 62.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003341/9.795, allocations: 86.16 kB / 4.617 GB, free: 62.46 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/9.795, allocations: 0 / 4.617 GB, free: 62.46 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00466/9.8, allocations: 3.418 MB / 4.62 GB, free: 58.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/9.8, allocations: 8 kB / 4.62 GB, free: 58.97 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/9.8, allocations: 145.6 kB / 4.621 GB, free: 58.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/9.802, allocations: 262.7 kB / 4.621 GB, free: 58.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008097/9.802, allocations: 1.287 MB / 4.622 GB, free: 57.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/9.806, allocations: 197.2 kB / 4.622 GB, free: 57.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/9.806, allocations: 79.97 kB / 4.622 GB, free: 56.97 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: 8 (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,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 (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.002813/9.809, allocations: 1.116 MB / 4.623 GB, free: 55.81 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/9.81, allocations: 335.9 kB / 4.624 GB, free: 55.48 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00491/9.815, allocations: 2.553 MB / 4.626 GB, free: 52.89 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/9.815, allocations: 12 kB / 4.626 GB, free: 52.88 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/9.815, allocations: 3.219 kB / 4.626 GB, free: 52.88 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002878/9.818, allocations: 2.294 MB / 4.629 GB, free: 50.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/9.831, allocations: 5.992 MB / 4.634 GB, free: 44.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/9.831, allocations: 8 kB / 4.634 GB, free: 44.38 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/9.832, allocations: 262 kB / 4.635 GB, free: 44.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.529e-05/9.832, allocations: 12 kB / 4.635 GB, free: 44.12 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/9.833, allocations: 39.98 kB / 4.635 GB, free: 44.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/9.833, allocations: 15.94 kB / 4.635 GB, free: 44.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/9.833, allocations: 11.56 kB / 4.635 GB, free: 44.05 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006245/9.839, allocations: 4.714 MB / 4.639 GB, free: 39.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/9.842, allocations: 0.7117 MB / 4.64 GB, free: 38.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/9.843, allocations: 45.52 kB / 4.64 GB, free: 38.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/9.846, allocations: 171.2 kB / 4.64 GB, free: 38.17 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/9.847, allocations: 161.9 kB / 4.64 GB, free: 38.01 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/9.847, allocations: 59.97 kB / 4.64 GB, free: 37.95 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.006038/9.853, allocations: 2.397 MB / 4.643 GB, free: 35.57 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.7e-07/9.853, allocations: 0 / 4.643 GB, free: 35.57 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009749/9.863, allocations: 1.507 MB / 4.644 GB, free: 34.06 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],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.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01275/9.876, allocations: 9.19 MB / 4.653 GB, free: 24.97 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007514/9.883, allocations: 5.614 MB / 4.659 GB, free: 19.07 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/9.883, allocations: 8.125 kB / 4.659 GB, free: 19.06 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/9.886, allocations: 1.901 MB / 4.661 GB, free: 17.09 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009321/9.895, allocations: 1.623 MB / 4.662 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/9.919, allocations: 12.82 MB / 4.675 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003659/9.923, allocations: 2.146 MB / 4.677 GB, free: 236 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005346/9.928, allocations: 0.644 MB / 4.677 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003549/9.932, allocations: 1.362 MB / 4.679 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of SimCode: time 1.693e-06/9.932, allocations: 4 kB / 4.679 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9319/10.86, allocations: 126 MB / 4.802 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/10.86, allocations: 275.7 kB / 4.802 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.412/17.28, allocations: 0 / 4.802 GB, free: 119.6 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)