Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",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.535/2.535, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001541/0.00154, allocations: 183.6 kB / 370.8 MB, free: 10.85 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.055/2.055, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001139/0.001139, allocations: 92.19 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006521/0.0006522, allocations: 13.53 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2493, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.561/7.811, allocations: 2.344 GB / 3.322 GB, free: 270.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004672/7.811, allocations: 111.7 kB / 3.322 GB, free: 270.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.346/14.16, allocations: 1.24 GB / 4.562 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.645e-06/14.16, allocations: 0 / 4.562 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000647/14.16, allocations: 95.66 kB / 4.562 GB, free: 108.3 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01438/14.17, allocations: 4.316 MB / 4.567 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/14.17, allocations: 7.656 kB / 4.567 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001242/14.17, allocations: 297.2 kB / 4.567 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/14.18, allocations: 0.5373 MB / 4.567 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/14.19, allocations: 3.417 MB / 4.571 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/14.19, allocations: 162.2 kB / 4.571 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006797/14.19, allocations: 219.9 kB / 4.571 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006969/14.2, allocations: 2.586 MB / 4.574 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.21e-05/14.2, allocations: 3.938 kB / 4.574 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/14.2, allocations: 86.09 kB / 4.574 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.221e-05/14.2, allocations: 76.77 kB / 4.574 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005884/14.2, allocations: 2.029 MB / 4.576 GB, free: 99.43 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.02243/14.23, allocations: 10.49 MB / 4.586 GB, free: 91.05 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/14.23, allocations: 1.549 MB / 4.588 GB, free: 90.27 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/14.23, allocations: 1.18 MB / 4.589 GB, free: 88.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/14.23, allocations: 52.91 kB / 4.589 GB, free: 88.86 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 4.959e-06/14.23, allocations: 0 / 4.589 GB, free: 88.86 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.01975/14.25, allocations: 6.795 MB / 4.595 GB, free: 84.53 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/14.25, allocations: 342 kB / 4.596 GB, free: 84.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008675/14.26, allocations: 3.089 MB / 4.599 GB, free: 82.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006461/14.26, allocations: 63.58 kB / 4.599 GB, free: 82.46 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002265/14.26, allocations: 1.463 MB / 4.6 GB, free: 81.19 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008047/14.26, allocations: 457.3 kB / 4.601 GB, free: 80.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/14.26, allocations: 31.72 kB / 4.601 GB, free: 80.78 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001334/14.26, allocations: 357.6 kB / 4.601 GB, free: 80.44 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/14.27, allocations: 1.085 MB / 4.602 GB, free: 79.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/14.27, allocations: 1.525 MB / 4.604 GB, free: 78.85 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/14.28, allocations: 4.277 MB / 4.608 GB, free: 75.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/14.28, allocations: 0 / 4.608 GB, free: 75.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008134/14.29, allocations: 3.326 MB / 4.611 GB, free: 72.11 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007827/14.29, allocations: 2.937 MB / 4.614 GB, free: 68.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/14.29, allocations: 7.938 kB / 4.614 GB, free: 68.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007672/14.29, allocations: 147.8 kB / 4.614 GB, free: 68.76 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/14.29, allocations: 261.8 kB / 4.614 GB, free: 68.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/14.3, allocations: 1.294 MB / 4.616 GB, free: 67.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/14.3, allocations: 195.4 kB / 4.616 GB, free: 66.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006067/14.3, allocations: 87.67 kB / 4.616 GB, free: 66.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/14.3, allocations: 4 kB / 4.616 GB, free: 66.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00744/14.31, allocations: 3.412 MB / 4.619 GB, free: 63.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/14.31, allocations: 8 kB / 4.619 GB, free: 63.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/14.31, allocations: 151.9 kB / 4.619 GB, free: 63.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/14.31, allocations: 259.6 kB / 4.62 GB, free: 63 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/14.31, allocations: 1.302 MB / 4.621 GB, free: 61.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/14.32, allocations: 192.9 kB / 4.621 GB, free: 61.47 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005849/14.32, allocations: 79.98 kB / 4.621 GB, free: 61.39 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: 8 (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,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.003142/14.32, allocations: 1.118 MB / 4.622 GB, free: 60.23 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/14.32, allocations: 327.9 kB / 4.622 GB, free: 59.91 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006782/14.33, allocations: 2.547 MB / 4.625 GB, free: 57.33 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/14.33, allocations: 12 kB / 4.625 GB, free: 57.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/14.33, allocations: 2.844 kB / 4.625 GB, free: 57.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005124/14.33, allocations: 2.295 MB / 4.627 GB, free: 54.94 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/14.35, allocations: 5.99 MB / 4.633 GB, free: 48.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/14.35, allocations: 6.875 kB / 4.633 GB, free: 48.83 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/14.35, allocations: 263.4 kB / 4.633 GB, free: 48.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.137e-05/14.35, allocations: 12 kB / 4.633 GB, free: 48.56 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003012/14.35, allocations: 46.14 kB / 4.633 GB, free: 48.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/14.35, allocations: 15.92 kB / 4.633 GB, free: 48.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/14.35, allocations: 11.94 kB / 4.633 GB, free: 48.49 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009043/14.36, allocations: 4.701 MB / 4.638 GB, free: 43.55 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002757/14.36, allocations: 0.7262 MB / 4.639 GB, free: 42.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/14.37, allocations: 47.98 kB / 4.639 GB, free: 42.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003848/14.37, allocations: 162.8 kB / 4.639 GB, free: 42.61 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007031/14.37, allocations: 162.2 kB / 4.639 GB, free: 42.46 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00023/14.37, allocations: 59.97 kB / 4.639 GB, free: 42.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.006191/14.38, allocations: 2.393 MB / 4.641 GB, free: 40.02 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.793e-06/14.38, allocations: 0 / 4.641 GB, free: 40.02 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008313/14.38, allocations: 1.515 MB / 4.643 GB, free: 38.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,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 (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01466/14.4, allocations: 9.195 MB / 4.652 GB, free: 29.47 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009602/14.41, allocations: 5.603 MB / 4.657 GB, free: 23.57 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/14.41, allocations: 4 kB / 4.657 GB, free: 23.57 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/14.41, allocations: 1.912 MB / 4.659 GB, free: 21.58 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0122/14.42, allocations: 1.63 MB / 4.661 GB, free: 20.04 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/14.45, allocations: 12.81 MB / 4.673 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/14.45, allocations: 2.146 MB / 4.675 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004852/14.45, allocations: 0.6503 MB / 4.676 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003536/14.46, allocations: 1.362 MB / 4.677 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/14.46, allocations: 0 / 4.677 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.129/15.59, allocations: 126 MB / 4.8 GB, free: 133.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/15.59, allocations: 264.4 kB / 4.801 GB, free: 133.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/23.65, allocations: 3.125 kB / 4.801 GB, free: 133.2 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)