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.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.961 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.0009924/0.0009925, allocations: 175.1 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008964/0.0008964, allocations: 86.47 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.076e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.896/6.102, allocations: 2.461 GB / 3.346 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/6.102, allocations: 99.88 kB / 3.346 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.016/10.12, allocations: 1.193 GB / 4.539 GB, free: 19.49 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.783e-06/10.12, allocations: 0 / 4.539 GB, free: 19.49 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003913/10.12, allocations: 77.78 kB / 4.539 GB, free: 19.42 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.007662/10.13, allocations: 3.482 MB / 4.543 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/10.13, allocations: 12.03 kB / 4.543 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/10.13, allocations: 0.5108 MB / 4.543 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006575/10.13, allocations: 3.283 MB / 4.546 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/10.14, allocations: 64 kB / 4.547 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/10.14, allocations: 124 kB / 4.547 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002835/10.14, allocations: 1.73 MB / 4.548 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/10.14, allocations: 2.091 MB / 4.55 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/10.14, allocations: 4 kB / 4.55 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/10.14, allocations: 11.94 kB / 4.55 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/10.14, allocations: 67.66 kB / 4.55 GB, free: 7.887 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.01385/10.16, allocations: 9.404 MB / 4.56 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/10.16, allocations: 1.279 MB / 4.561 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/10.16, allocations: 0.8984 MB / 4.562 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/10.16, allocations: 1.177 MB / 4.563 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/10.16, allocations: 48.44 kB / 4.563 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=113): time 3.055e-06/10.16, allocations: 0 / 4.563 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115): time 0.008884/10.17, allocations: 4.213 MB / 4.567 GB, free: 6.293 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/10.17, allocations: 290.3 kB / 4.567 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004481/10.17, allocations: 2.546 MB / 4.57 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003999/10.17, allocations: 33.7 kB / 4.57 GB, free: 3.359 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/10.17, allocations: 1.414 MB / 4.571 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004959/10.18, allocations: 382.3 kB / 4.572 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/10.18, allocations: 0 / 4.572 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001692/10.18, allocations: 361.9 kB / 4.572 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/10.18, allocations: 0.9678 MB / 4.573 GB, free: 236 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/10.18, allocations: 1.375 MB / 4.574 GB, free: 14.7 MB / 0.9167 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.005038/10.18, allocations: 2.487 MB / 4.577 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/10.18, allocations: 0 / 4.577 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005414/10.19, allocations: 2.567 MB / 4.579 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00139/10.19, allocations: 2.875 MB / 4.582 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/10.19, allocations: 4 kB / 4.582 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-05/10.19, allocations: 12 kB / 4.582 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/10.19, allocations: 259.6 kB / 4.582 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005527/10.19, allocations: 0.6249 MB / 4.583 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/10.2, allocations: 147.7 kB / 4.583 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/10.2, allocations: 83.97 kB / 4.583 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/10.2, allocations: 4 kB / 4.583 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004112/10.2, allocations: 2.499 MB / 4.586 GB, free: 2.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/10.2, allocations: 8 kB / 4.586 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/10.2, allocations: 12 kB / 4.586 GB, free: 2.793 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/10.2, allocations: 247.6 kB / 4.586 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/10.2, allocations: 15.94 kB / 4.586 GB, free: 2.535 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/10.2, allocations: 147.6 kB / 4.586 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/10.2, allocations: 83.92 kB / 4.586 GB, free: 2.309 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.0005599/10.2, allocations: 342.1 kB / 4.586 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0034/10.21, allocations: 1.888 MB / 4.588 GB, free: 44 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.6688/10.88, allocations: 277.7 kB / 4.588 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/10.88, allocations: 2.011 MB / 4.59 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/10.88, allocations: 13.86 kB / 4.59 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/10.88, allocations: 2.688 kB / 4.59 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003539/10.89, allocations: 1.843 MB / 4.592 GB, free: 106 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/10.9, allocations: 5.04 MB / 4.597 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/10.9, allocations: 5.375 kB / 4.597 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/10.9, allocations: 223.4 kB / 4.597 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/10.9, allocations: 9.844 kB / 4.597 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/10.9, allocations: 33.78 kB / 4.597 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002531/10.9, allocations: 0.6076 MB / 4.598 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/10.9, allocations: 12.03 kB / 4.598 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/10.9, allocations: 3.959 MB / 4.602 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/10.91, allocations: 0.645 MB / 4.602 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006066/10.91, allocations: 22.64 kB / 4.603 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/10.91, allocations: 134.7 kB / 4.603 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/10.91, allocations: 153.7 kB / 4.603 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/10.91, allocations: 56.92 kB / 4.603 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003781/10.91, allocations: 1.927 MB / 4.605 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.5e-07/10.91, allocations: 0 / 4.605 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006518/10.92, allocations: 1.353 MB / 4.606 GB, free: 103.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.01226/10.93, allocations: 8.691 MB / 4.615 GB, free: 99.87 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00704/10.94, allocations: 5.24 MB / 4.62 GB, free: 98.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/10.94, allocations: 2.859 kB / 4.62 GB, free: 98.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002803/10.94, allocations: 1.788 MB / 4.621 GB, free: 97.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008887/10.95, allocations: 1.375 MB / 4.623 GB, free: 97.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/10.96, allocations: 5.471 MB / 4.628 GB, free: 96.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/10.97, allocations: 2.087 MB / 4.63 GB, free: 95.96 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004388/10.97, allocations: 0.953 MB / 4.631 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/10.97, allocations: 1.201 MB / 4.632 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of SimCode: time 1.382e-06/10.97, allocations: 0 / 4.632 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/11.13, allocations: 98.77 MB / 4.729 GB, free: 90.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/11.13, allocations: 191.3 kB / 4.729 GB, free: 90.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.319/16.45, allocations: 4 kB / 4.729 GB, free: 90.19 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)