Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.591/2.591, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001948/0.001947, allocations: 176.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001122/0.001122, allocations: 96.55 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.65e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8016/0.8017, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.062/7.864, allocations: 2.343 GB / 3.306 GB, free: 138.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/7.865, allocations: 98.94 kB / 3.307 GB, free: 138.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.587/14.45, allocations: 1.224 GB / 4.531 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.753e-06/14.45, allocations: 0 / 4.531 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006357/14.45, allocations: 85.19 kB / 4.531 GB, free: 7.992 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.01182/14.46, allocations: 3.475 MB / 4.534 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/14.46, allocations: 8.031 kB / 4.534 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004105/14.47, allocations: 0.5186 MB / 4.535 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/14.48, allocations: 3.283 MB / 4.538 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/14.48, allocations: 60 kB / 4.538 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008265/14.48, allocations: 128 kB / 4.538 GB, free: 408 kB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006291/14.49, allocations: 1.726 MB / 4.54 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00754/14.5, allocations: 2.095 MB / 4.542 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.373e-05/14.5, allocations: 7.984 kB / 4.542 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/14.5, allocations: 4 kB / 4.542 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/14.5, allocations: 71.59 kB / 4.542 GB, free: 12.44 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.02664/14.52, allocations: 9.408 MB / 4.551 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/14.53, allocations: 1.294 MB / 4.553 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/14.53, allocations: 0.8984 MB / 4.553 GB, free: 480 kB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8507/15.38, allocations: 1.174 MB / 4.555 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/15.38, allocations: 49.58 kB / 4.555 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=113): time 4.518e-06/15.38, allocations: 0 / 4.555 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.0191/15.4, allocations: 4.206 MB / 4.559 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/15.4, allocations: 291.3 kB / 4.559 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009044/15.41, allocations: 2.541 MB / 4.562 GB, free: 111 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005861/15.41, allocations: 33.58 kB / 4.562 GB, free: 111 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002397/15.41, allocations: 1.415 MB / 4.563 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008732/15.41, allocations: 382.3 kB / 4.563 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/15.41, allocations: 2.469 kB / 4.563 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001841/15.41, allocations: 367.5 kB / 4.564 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/15.41, allocations: 0.9693 MB / 4.565 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/15.42, allocations: 1.369 MB / 4.566 GB, free: 109.8 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.00965/15.43, allocations: 2.505 MB / 4.568 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/15.43, allocations: 3.25 kB / 4.568 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.008972/15.44, allocations: 2.571 MB / 4.571 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009092/15.44, allocations: 2.873 MB / 4.574 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.059e-05/15.44, allocations: 7.562 kB / 4.574 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.101e-05/15.44, allocations: 13.16 kB / 4.574 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/15.44, allocations: 258.5 kB / 4.574 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005341/15.44, allocations: 0.6186 MB / 4.575 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004504/15.45, allocations: 147.3 kB / 4.575 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006999/15.45, allocations: 80.19 kB / 4.575 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/15.45, allocations: 6.375 kB / 4.575 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007096/15.45, allocations: 2.505 MB / 4.577 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/15.45, allocations: 3.906 kB / 4.577 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/15.45, allocations: 11.34 kB / 4.577 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/15.46, allocations: 251.6 kB / 4.578 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/15.46, allocations: 16.12 kB / 4.578 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/15.46, allocations: 148.9 kB / 4.578 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006618/15.46, allocations: 82.17 kB / 4.578 GB, free: 105.6 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.0007848/15.46, allocations: 343.1 kB / 4.578 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005818/15.47, allocations: 1.895 MB / 4.58 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/15.47, allocations: 281.4 kB / 4.58 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006422/15.47, allocations: 2.015 MB / 4.582 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/15.48, allocations: 11.66 kB / 4.582 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/15.48, allocations: 0 / 4.582 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004671/15.48, allocations: 1.848 MB / 4.584 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/15.5, allocations: 5.04 MB / 4.589 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/15.5, allocations: 7.156 kB / 4.589 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/15.5, allocations: 233.9 kB / 4.589 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.496e-05/15.5, allocations: 10.94 kB / 4.589 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/15.5, allocations: 21.67 kB / 4.589 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003618/15.5, allocations: 0.6122 MB / 4.59 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/15.5, allocations: 14.11 kB / 4.59 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008606/15.51, allocations: 3.956 MB / 4.594 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/15.51, allocations: 0.6504 MB / 4.594 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/15.51, allocations: 19.56 kB / 4.594 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003753/15.51, allocations: 132 kB / 4.594 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000727/15.52, allocations: 156.1 kB / 4.595 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/15.52, allocations: 62.36 kB / 4.595 GB, free: 102 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005748/15.52, allocations: 1.925 MB / 4.597 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.41e-07/15.52, allocations: 0 / 4.597 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00911/15.53, allocations: 1.351 MB / 4.598 GB, free: 101.9 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.0166/15.55, allocations: 8.683 MB / 4.606 GB, free: 98.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01214/15.56, allocations: 5.244 MB / 4.611 GB, free: 96.61 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/15.56, allocations: 4.781 kB / 4.611 GB, free: 96.61 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/15.56, allocations: 1.791 MB / 4.613 GB, free: 96.23 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01382/15.58, allocations: 1.379 MB / 4.615 GB, free: 96.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/15.61, allocations: 5.469 MB / 4.62 GB, free: 94.97 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005776/15.61, allocations: 2.079 MB / 4.622 GB, free: 94.23 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0125/15.63, allocations: 0.9567 MB / 4.623 GB, free: 94.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004362/15.63, allocations: 1.196 MB / 4.624 GB, free: 94.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.503e-06/15.63, allocations: 1.219 kB / 4.624 GB, free: 94.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3118/15.94, allocations: 98.74 MB / 4.72 GB, free: 88.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/15.94, allocations: 198.4 kB / 4.721 GB, free: 88.64 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/24, allocations: 4 kB / 4.721 GB, free: 88.64 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)