Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001542/0.001541, allocations: 180.9 kB / 366.7 MB, free: 1.652 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.765/1.765, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009391/0.0009396, allocations: 92.83 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/2.991e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.732, allocations: 116.3 MB / 0.9733 GB, free: 76.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.159/6.891, allocations: 2.344 GB / 3.318 GB, free: 97.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/6.891, allocations: 98.94 kB / 3.318 GB, free: 97.33 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.181/12.07, allocations: 1.224 GB / 4.542 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.625e-06/12.07, allocations: 3.391 kB / 4.542 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0009918/12.07, allocations: 82.75 kB / 4.542 GB, free: 110.9 MB / 0.9792 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.01349/12.09, allocations: 3.477 MB / 4.545 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/12.09, allocations: 10.75 kB / 4.546 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/12.09, allocations: 0.5123 MB / 4.546 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/12.1, allocations: 3.285 MB / 4.549 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/12.1, allocations: 66.12 kB / 4.549 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/12.1, allocations: 124.2 kB / 4.549 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005379/12.11, allocations: 1.727 MB / 4.551 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006753/12.12, allocations: 2.093 MB / 4.553 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/12.12, allocations: 5.25 kB / 4.553 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008222/12.12, allocations: 18.22 kB / 4.553 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/12.12, allocations: 71.23 kB / 4.553 GB, free: 108.5 MB / 0.9792 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.02039/12.14, allocations: 9.402 MB / 4.562 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/12.14, allocations: 1.279 MB / 4.564 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/12.14, allocations: 0.8986 MB / 4.565 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009687/12.14, allocations: 1.176 MB / 4.566 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/12.14, allocations: 51.28 kB / 4.566 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=113): time 5.129e-06/12.14, allocations: 3.656 kB / 4.566 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.01294/12.16, allocations: 4.215 MB / 4.57 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/12.16, allocations: 291.1 kB / 4.57 GB, free: 103 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008669/12.16, allocations: 2.537 MB / 4.573 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006177/12.16, allocations: 34.39 kB / 4.573 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002229/12.17, allocations: 1.412 MB / 4.574 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009158/12.17, allocations: 378.9 kB / 4.574 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/12.17, allocations: 3.812 kB / 4.574 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002522/12.17, allocations: 361 kB / 4.575 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/12.17, allocations: 0.9703 MB / 4.576 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/12.17, allocations: 1.38 MB / 4.577 GB, free: 101.3 MB / 0.9792 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.006502/12.18, allocations: 2.502 MB / 4.579 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/12.18, allocations: 0.9375 kB / 4.579 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.006334/12.19, allocations: 2.571 MB / 4.582 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009077/12.19, allocations: 2.864 MB / 4.585 GB, free: 97.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/12.19, allocations: 11.3 kB / 4.585 GB, free: 97.81 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.403e-05/12.19, allocations: 15.09 kB / 4.585 GB, free: 97.81 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/12.19, allocations: 258.8 kB / 4.585 GB, free: 97.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/12.19, allocations: 0.6208 MB / 4.586 GB, free: 97.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/12.19, allocations: 149.5 kB / 4.586 GB, free: 97.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/12.19, allocations: 84.31 kB / 4.586 GB, free: 97.21 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/12.19, allocations: 3.906 kB / 4.586 GB, free: 97.21 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004479/12.2, allocations: 2.498 MB / 4.588 GB, free: 97.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/12.2, allocations: 6.406 kB / 4.588 GB, free: 97.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/12.2, allocations: 14.56 kB / 4.588 GB, free: 97.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/12.2, allocations: 247.9 kB / 4.589 GB, free: 97.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.513e-05/12.2, allocations: 19.27 kB / 4.589 GB, free: 97.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/12.2, allocations: 150.2 kB / 4.589 GB, free: 97.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/12.2, allocations: 77.16 kB / 4.589 GB, free: 97.17 MB / 0.9792 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.0006644/12.2, allocations: 330 kB / 4.589 GB, free: 96.87 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004397/12.21, allocations: 1.897 MB / 4.591 GB, free: 96.67 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/12.21, allocations: 277.9 kB / 4.591 GB, free: 96.52 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005178/12.21, allocations: 2.027 MB / 4.593 GB, free: 96.41 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/12.21, allocations: 12.17 kB / 4.593 GB, free: 96.41 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/12.21, allocations: 0.5625 kB / 4.593 GB, free: 96.41 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004029/12.22, allocations: 1.846 MB / 4.595 GB, free: 96.13 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/12.24, allocations: 5.039 MB / 4.6 GB, free: 95.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/12.24, allocations: 4.75 kB / 4.6 GB, free: 95.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/12.24, allocations: 230.5 kB / 4.6 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-05/12.24, allocations: 11.53 kB / 4.6 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/12.24, allocations: 24.25 kB / 4.6 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004315/12.24, allocations: 0.6179 MB / 4.601 GB, free: 95.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/12.24, allocations: 9.469 kB / 4.601 GB, free: 95.01 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008002/12.25, allocations: 3.971 MB / 4.605 GB, free: 93.82 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003047/12.25, allocations: 0.641 MB / 4.605 GB, free: 93.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001733/12.25, allocations: 20.83 kB / 4.605 GB, free: 93.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003343/12.26, allocations: 131.9 kB / 4.605 GB, free: 93.58 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004907/12.26, allocations: 154.7 kB / 4.606 GB, free: 93.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/12.26, allocations: 53.88 kB / 4.606 GB, free: 93.57 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00628/12.26, allocations: 1.929 MB / 4.608 GB, free: 93.43 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.9e-07/12.26, allocations: 0 / 4.608 GB, free: 93.43 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008879/12.27, allocations: 1.349 MB / 4.609 GB, free: 93.36 MB / 0.9792 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.01246/12.29, allocations: 8.711 MB / 4.617 GB, free: 89.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007303/12.29, allocations: 5.241 MB / 4.622 GB, free: 88 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/12.29, allocations: 3.188 kB / 4.622 GB, free: 88 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/12.3, allocations: 1.787 MB / 4.624 GB, free: 87.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009147/12.3, allocations: 1.374 MB / 4.626 GB, free: 87.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/12.32, allocations: 5.462 MB / 4.631 GB, free: 86.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/12.33, allocations: 2.081 MB / 4.633 GB, free: 85.55 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00585/12.33, allocations: 0.9585 MB / 4.634 GB, free: 85.52 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/12.34, allocations: 1.203 MB / 4.635 GB, free: 85.51 MB / 0.9792 GB Notification: Performance of SimCode: time 9.22e-07/12.34, allocations: 0 / 4.635 GB, free: 85.51 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.177/12.51, allocations: 98.78 MB / 4.732 GB, free: 79.68 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/12.51, allocations: 175.2 kB / 4.732 GB, free: 79.49 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.888/18.4, allocations: 0 / 4.732 GB, free: 79.49 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)