Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",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.593/1.593, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001032/0.001032, allocations: 179.7 kB / 371.8 MB, free: 10.28 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.527/1.527, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009131/0.000913, allocations: 95.48 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 11.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.951/6.174, allocations: 2.344 GB / 3.323 GB, free: 270.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/6.174, allocations: 103.1 kB / 3.324 GB, free: 270.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.198/10.37, allocations: 1.236 GB / 4.56 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.645e-06/10.37, allocations: 0 / 4.56 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000549/10.37, allocations: 87.34 kB / 4.56 GB, free: 106.6 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.01198/10.38, allocations: 4.139 MB / 4.564 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/10.38, allocations: 11.31 kB / 4.564 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001176/10.39, allocations: 275.2 kB / 4.564 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/10.39, allocations: 0.5068 MB / 4.565 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009577/10.4, allocations: 3.304 MB / 4.568 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/10.4, allocations: 158.7 kB / 4.568 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009653/10.4, allocations: 213.1 kB / 4.568 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/10.41, allocations: 2.415 MB / 4.571 GB, free: 99.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.735e-05/10.41, allocations: 0 / 4.571 GB, free: 99.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/10.41, allocations: 80.59 kB / 4.571 GB, free: 99.15 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.51e-05/10.41, allocations: 71.05 kB / 4.571 GB, free: 99.14 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/10.41, allocations: 1.902 MB / 4.573 GB, free: 98.18 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.01653/10.43, allocations: 9.828 MB / 4.582 GB, free: 90.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/10.43, allocations: 1.381 MB / 4.584 GB, free: 89.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000866/10.43, allocations: 1.175 MB / 4.585 GB, free: 88.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/10.43, allocations: 47.91 kB / 4.585 GB, free: 88.26 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=113): time 3.206e-06/10.43, allocations: 1.422 kB / 4.585 GB, free: 88.26 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115): time 0.0106/10.44, allocations: 6.212 MB / 4.591 GB, free: 84.21 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/10.44, allocations: 288.4 kB / 4.591 GB, free: 83.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006499/10.45, allocations: 3.007 MB / 4.594 GB, free: 82.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005195/10.45, allocations: 53.23 kB / 4.594 GB, free: 82.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/10.45, allocations: 1.417 MB / 4.595 GB, free: 81.02 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/10.45, allocations: 390.2 kB / 4.596 GB, free: 80.69 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/10.45, allocations: 33.19 kB / 4.596 GB, free: 80.67 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001217/10.45, allocations: 359.3 kB / 4.596 GB, free: 80.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/10.45, allocations: 1.021 MB / 4.597 GB, free: 79.81 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/10.45, allocations: 1.44 MB / 4.599 GB, free: 78.82 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.005312/10.46, allocations: 2.954 MB / 4.602 GB, free: 76.95 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/10.46, allocations: 2.5 kB / 4.602 GB, free: 76.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004648/10.46, allocations: 3.084 MB / 4.605 GB, free: 75.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006616/10.46, allocations: 2.915 MB / 4.607 GB, free: 72.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/10.46, allocations: 7.75 kB / 4.607 GB, free: 72.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/10.46, allocations: 11.5 kB / 4.607 GB, free: 72.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/10.47, allocations: 256.2 kB / 4.608 GB, free: 72.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003594/10.47, allocations: 0.6139 MB / 4.608 GB, free: 71.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/10.47, allocations: 181.2 kB / 4.608 GB, free: 71.33 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/10.47, allocations: 84.56 kB / 4.608 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/10.47, allocations: 3.5 kB / 4.608 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004038/10.47, allocations: 3.184 MB / 4.612 GB, free: 68.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/10.47, allocations: 5.719 kB / 4.612 GB, free: 68.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/10.47, allocations: 15.94 kB / 4.612 GB, free: 68.28 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/10.47, allocations: 247.6 kB / 4.612 GB, free: 68.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/10.47, allocations: 21.73 kB / 4.612 GB, free: 68.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/10.48, allocations: 173.2 kB / 4.612 GB, free: 67.86 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/10.48, allocations: 79.97 kB / 4.612 GB, free: 67.78 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 () * Number of clocked 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.00218/10.48, allocations: 1.097 MB / 4.613 GB, free: 66.64 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009032/10.48, allocations: 304.2 kB / 4.613 GB, free: 66.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/10.48, allocations: 2.363 MB / 4.616 GB, free: 63.93 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/10.48, allocations: 14.5 kB / 4.616 GB, free: 63.92 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/10.48, allocations: 0 / 4.616 GB, free: 63.92 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002434/10.49, allocations: 2.147 MB / 4.618 GB, free: 61.69 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/10.5, allocations: 5.613 MB / 4.623 GB, free: 55.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/10.5, allocations: 4 kB / 4.623 GB, free: 55.94 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/10.5, allocations: 232.6 kB / 4.624 GB, free: 55.72 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/10.5, allocations: 8 kB / 4.624 GB, free: 55.71 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/10.5, allocations: 39.98 kB / 4.624 GB, free: 55.67 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003412/10.5, allocations: 0.6123 MB / 4.624 GB, free: 55.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/10.5, allocations: 15.89 kB / 4.624 GB, free: 55.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00589/10.51, allocations: 4.433 MB / 4.629 GB, free: 50.32 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002503/10.51, allocations: 0.6807 MB / 4.629 GB, free: 49.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/10.51, allocations: 43.41 kB / 4.629 GB, free: 49.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/10.51, allocations: 149.2 kB / 4.629 GB, free: 49.44 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/10.51, allocations: 151.9 kB / 4.63 GB, free: 49.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/10.51, allocations: 62.08 kB / 4.63 GB, free: 49.24 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004915/10.52, allocations: 2.331 MB / 4.632 GB, free: 46.92 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.81e-07/10.52, allocations: 4 kB / 4.632 GB, free: 46.91 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007209/10.53, allocations: 1.457 MB / 4.633 GB, free: 45.46 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) * Number of clocked states: 0 () * 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.01002/10.54, allocations: 9 MB / 4.642 GB, free: 36.63 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006884/10.54, allocations: 5.351 MB / 4.647 GB, free: 30.99 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/10.54, allocations: 0 / 4.647 GB, free: 30.99 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/10.55, allocations: 1.853 MB / 4.649 GB, free: 29.07 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007905/10.55, allocations: 1.618 MB / 4.651 GB, free: 27.52 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/10.57, allocations: 12.21 MB / 4.663 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/10.57, allocations: 2.079 MB / 4.665 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003545/10.58, allocations: 0.6339 MB / 4.665 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/10.58, allocations: 1.269 MB / 4.667 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of SimCode: time 1.192e-06/10.58, allocations: 0 / 4.667 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7794/11.36, allocations: 121.9 MB / 4.786 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/11.36, allocations: 265.1 kB / 4.786 GB, free: 126 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/17.92, allocations: 4 kB / 4.786 GB, free: 126 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)