Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 180.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 94.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.559e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.252, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.929/7.181, allocations: 2.461 GB / 3.353 GB, free: 267.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/7.181, allocations: 100.9 kB / 3.353 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.216/11.4, allocations: 1.202 GB / 4.554 GB, free: 29.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.275e-06/11.4, allocations: 3.938 kB / 4.554 GB, free: 29.16 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003912/11.4, allocations: 78.64 kB / 4.555 GB, free: 29.09 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.009357/11.41, allocations: 3.477 MB / 4.558 GB, free: 25.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/11.41, allocations: 8.031 kB / 4.558 GB, free: 25.48 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000899/11.41, allocations: 278.2 kB / 4.558 GB, free: 25.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/11.41, allocations: 0.5199 MB / 4.559 GB, free: 24.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007546/11.42, allocations: 3.279 MB / 4.562 GB, free: 21.42 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/11.42, allocations: 150.4 kB / 4.562 GB, free: 21.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/11.42, allocations: 208 kB / 4.562 GB, free: 21.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00404/11.42, allocations: 2.368 MB / 4.565 GB, free: 18.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/11.42, allocations: 0 / 4.565 GB, free: 18.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/11.42, allocations: 80 kB / 4.565 GB, free: 18.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/11.42, allocations: 71.64 kB / 4.565 GB, free: 18.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/11.43, allocations: 1.83 MB / 4.567 GB, free: 16.67 MB / 0.8855 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.01424/11.44, allocations: 9.826 MB / 4.576 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/11.44, allocations: 1.324 MB / 4.577 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/11.44, allocations: 0.9288 MB / 4.578 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008026/11.44, allocations: 1.171 MB / 4.579 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/11.44, allocations: 51.56 kB / 4.58 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=113): time 4.178e-06/11.44, allocations: 0 / 4.58 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115): time 0.008732/11.45, allocations: 4.841 MB / 4.584 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/11.45, allocations: 290 kB / 4.585 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/11.46, allocations: 2.974 MB / 4.587 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004612/11.46, allocations: 61.7 kB / 4.587 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/11.46, allocations: 1.402 MB / 4.589 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006298/11.46, allocations: 401.2 kB / 4.589 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/11.46, allocations: 31.94 kB / 4.589 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001862/11.46, allocations: 361.9 kB / 4.59 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/11.46, allocations: 0.9873 MB / 4.591 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/11.46, allocations: 1.412 MB / 4.592 GB, free: 5.691 MB / 0.9011 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.005488/11.47, allocations: 2.922 MB / 4.595 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/11.47, allocations: 0 / 4.595 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004851/11.47, allocations: 3.03 MB / 4.598 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001166/11.48, allocations: 2.91 MB / 4.601 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/11.48, allocations: 4 kB / 4.601 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/11.48, allocations: 19.95 kB / 4.601 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/11.48, allocations: 263.5 kB / 4.601 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004637/11.48, allocations: 0.6055 MB / 4.601 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/11.48, allocations: 191.5 kB / 4.602 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/11.48, allocations: 79.97 kB / 4.602 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/11.48, allocations: 4 kB / 4.602 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00427/11.49, allocations: 3.118 MB / 4.605 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/11.49, allocations: 7.938 kB / 4.605 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/11.49, allocations: 12 kB / 4.605 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/11.49, allocations: 256.1 kB / 4.605 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/11.49, allocations: 15.94 kB / 4.605 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/11.49, allocations: 183.5 kB / 4.605 GB, free: 7.488 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/11.49, allocations: 75.98 kB / 4.605 GB, free: 7.414 MB / 0.9167 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.0005978/11.49, allocations: 381.7 kB / 4.606 GB, free: 7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007882/11.49, allocations: 308.2 kB / 4.606 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/11.5, allocations: 2.301 MB / 4.608 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/11.5, allocations: 15.94 kB / 4.608 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/11.5, allocations: 3.938 kB / 4.608 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002624/11.5, allocations: 2.089 MB / 4.61 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6956/12.19, allocations: 5.538 MB / 4.616 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/12.19, allocations: 4.969 kB / 4.616 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/12.19, allocations: 226.6 kB / 4.616 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.151e-05/12.19, allocations: 10.66 kB / 4.616 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/12.19, allocations: 42.23 kB / 4.616 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002813/12.2, allocations: 0.611 MB / 4.617 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.679e-06/12.2, allocations: 8.062 kB / 4.617 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005997/12.2, allocations: 4.35 MB / 4.621 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/12.2, allocations: 0.6842 MB / 4.621 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005804/12.2, allocations: 36.48 kB / 4.622 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/12.21, allocations: 158.8 kB / 4.622 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/12.21, allocations: 149.9 kB / 4.622 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/12.21, allocations: 56.08 kB / 4.622 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005134/12.21, allocations: 2.3 MB / 4.624 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.21e-07/12.21, allocations: 2.25 kB / 4.624 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007071/12.22, allocations: 1.464 MB / 4.626 GB, free: 102.6 MB / 0.9167 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.01135/12.23, allocations: 8.93 MB / 4.634 GB, free: 98.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007752/12.24, allocations: 5.363 MB / 4.639 GB, free: 97.22 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/12.24, allocations: 3.219 kB / 4.64 GB, free: 97.22 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003579/12.24, allocations: 1.826 MB / 4.641 GB, free: 96.85 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01167/12.25, allocations: 1.608 MB / 4.643 GB, free: 96.81 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/12.27, allocations: 5.656 MB / 4.648 GB, free: 95.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/12.27, allocations: 2.082 MB / 4.65 GB, free: 94.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00573/12.28, allocations: 1.039 MB / 4.651 GB, free: 94.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/12.28, allocations: 1.225 MB / 4.653 GB, free: 94.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.363e-06/12.28, allocations: 0 / 4.653 GB, free: 94.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2139/12.49, allocations: 132.5 MB / 4.782 GB, free: 88.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/12.49, allocations: 235 kB / 4.782 GB, free: 87.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/19.07, allocations: 0 / 4.782 GB, free: 87.9 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)