Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.00118/0.00118, allocations: 185 kB / 377.1 MB, free: 1.523 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.787/1.787, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.0008721/0.000872, allocations: 95.62 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003507, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.648/5.903, allocations: 2.345 GB / 3.333 GB, free: 198.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/5.903, allocations: 100.5 kB / 3.334 GB, free: 198.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.776/10.68, allocations: 1.24 GB / 4.574 GB, free: 31.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.336e-06/10.68, allocations: 0 / 4.574 GB, free: 31.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000467/10.68, allocations: 84.08 kB / 4.574 GB, free: 31.14 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.0125/10.69, allocations: 4.32 MB / 4.578 GB, free: 26.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/10.69, allocations: 12.03 kB / 4.578 GB, free: 26.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/10.69, allocations: 288.3 kB / 4.578 GB, free: 26.39 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/10.7, allocations: 0.536 MB / 4.579 GB, free: 25.86 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008484/10.7, allocations: 3.421 MB / 4.582 GB, free: 22.46 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/10.7, allocations: 160 kB / 4.582 GB, free: 22.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/10.71, allocations: 220 kB / 4.582 GB, free: 22.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/10.71, allocations: 2.59 MB / 4.585 GB, free: 19.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/10.71, allocations: 4 kB / 4.585 GB, free: 19.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/10.71, allocations: 91.44 kB / 4.585 GB, free: 19.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/10.71, allocations: 67.89 kB / 4.585 GB, free: 19.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/10.71, allocations: 2.026 MB / 4.587 GB, free: 17.22 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.01512/10.73, allocations: 10.49 MB / 4.597 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/10.73, allocations: 1.545 MB / 4.599 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/10.73, allocations: 1.18 MB / 4.6 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/10.73, allocations: 51.59 kB / 4.6 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 3.446e-06/10.73, allocations: 0 / 4.6 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.0124/10.74, allocations: 6.804 MB / 4.607 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000206/10.74, allocations: 341.7 kB / 4.607 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006072/10.75, allocations: 3.083 MB / 4.61 GB, free: 8.793 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004915/10.75, allocations: 65.69 kB / 4.61 GB, free: 8.723 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/10.75, allocations: 1.472 MB / 4.611 GB, free: 7.242 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005951/10.75, allocations: 453.3 kB / 4.612 GB, free: 6.793 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/10.75, allocations: 32 kB / 4.612 GB, free: 6.762 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001962/10.75, allocations: 369.9 kB / 4.612 GB, free: 6.395 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/10.75, allocations: 1.078 MB / 4.613 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/10.76, allocations: 1.526 MB / 4.615 GB, free: 3.633 MB / 0.9792 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.007777/10.76, allocations: 4.277 MB / 4.619 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/10.76, allocations: 4 kB / 4.619 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005743/10.77, allocations: 3.319 MB / 4.622 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/10.77, allocations: 2.944 MB / 4.625 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/10.77, allocations: 8 kB / 4.625 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/10.77, allocations: 145.5 kB / 4.625 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/10.77, allocations: 259.6 kB / 4.626 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/10.77, allocations: 1.296 MB / 4.627 GB, free: 6.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/10.78, allocations: 195.7 kB / 4.627 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/10.78, allocations: 87.97 kB / 4.627 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/10.78, allocations: 4 kB / 4.627 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005018/10.78, allocations: 3.411 MB / 4.63 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/10.78, allocations: 7.938 kB / 4.63 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/10.78, allocations: 154.1 kB / 4.631 GB, free: 2.887 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/10.78, allocations: 259.6 kB / 4.631 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009932/10.79, allocations: 1.292 MB / 4.632 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/10.79, allocations: 194.7 kB / 4.632 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/10.79, allocations: 83.98 kB / 4.632 GB, free: 1.02 MB / 0.9948 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.7913/11.58, allocations: 1.109 MB / 4.633 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/11.58, allocations: 329.8 kB / 4.634 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/11.59, allocations: 2.541 MB / 4.636 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/11.59, allocations: 14.75 kB / 4.636 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/11.59, allocations: 0 / 4.636 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002991/11.59, allocations: 2.3 MB / 4.638 GB, free: 107 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/11.6, allocations: 5.985 MB / 4.644 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/11.6, allocations: 6.219 kB / 4.644 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/11.6, allocations: 263.1 kB / 4.645 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/11.6, allocations: 10.97 kB / 4.645 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/11.6, allocations: 44.44 kB / 4.645 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/11.6, allocations: 13.05 kB / 4.645 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/11.6, allocations: 8.672 kB / 4.645 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007064/11.61, allocations: 4.708 MB / 4.649 GB, free: 105 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002492/11.61, allocations: 0.7163 MB / 4.65 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006583/11.61, allocations: 40.75 kB / 4.65 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/11.61, allocations: 173.7 kB / 4.65 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/11.61, allocations: 161 kB / 4.65 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/11.61, allocations: 60.72 kB / 4.65 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005044/11.62, allocations: 2.397 MB / 4.653 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.1e-07/11.62, allocations: 0 / 4.653 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0075/11.63, allocations: 1.508 MB / 4.654 GB, free: 104.8 MB / 0.9948 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.0114/11.64, allocations: 9.209 MB / 4.663 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00703/11.65, allocations: 5.609 MB / 4.669 GB, free: 99.36 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/11.65, allocations: 4.531 kB / 4.669 GB, free: 99.36 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/11.65, allocations: 1.91 MB / 4.67 GB, free: 98.98 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008967/11.66, allocations: 1.616 MB / 4.672 GB, free: 98.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/11.67, allocations: 12.81 MB / 4.685 GB, free: 91.48 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/11.68, allocations: 2.146 MB / 4.687 GB, free: 90.74 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003689/11.68, allocations: 0.6515 MB / 4.687 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/11.68, allocations: 1.367 MB / 4.689 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.563e-06/11.68, allocations: 0 / 4.689 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2424/11.93, allocations: 126 MB / 4.812 GB, free: 84.04 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/11.93, allocations: 269.4 kB / 4.812 GB, free: 83.69 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/18.86, allocations: 0 / 4.812 GB, free: 83.69 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)