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.565/2.565, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.002295/0.002295, allocations: 180.9 kB / 360.6 MB, free: 7.328 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.054/2.054, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001116/0.001116, allocations: 96.67 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.548e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8175, allocations: 115.3 MB / 0.9634 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.948/7.766, allocations: 2.343 GB / 3.307 GB, free: 139.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/7.766, allocations: 99.75 kB / 3.307 GB, free: 139 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.423/14.19, allocations: 1.228 GB / 4.535 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.545e-06/14.19, allocations: 0 / 4.535 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007762/14.19, allocations: 87.92 kB / 4.535 GB, free: 4.453 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.01303/14.2, allocations: 3.634 MB / 4.538 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/14.2, allocations: 8.031 kB / 4.538 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/14.21, allocations: 0.5335 MB / 4.539 GB, free: 132 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/14.22, allocations: 3.396 MB / 4.542 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/14.22, allocations: 68 kB / 4.542 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007329/14.22, allocations: 132 kB / 4.542 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0061/14.23, allocations: 1.808 MB / 4.544 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007607/14.24, allocations: 2.228 MB / 4.546 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.863e-05/14.24, allocations: 7.953 kB / 4.546 GB, free: 8.336 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/14.24, allocations: 8 kB / 4.546 GB, free: 8.328 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/14.24, allocations: 71.83 kB / 4.546 GB, free: 8.258 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.8271/15.06, allocations: 10.05 MB / 4.556 GB, free: 110 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/15.07, allocations: 1.41 MB / 4.558 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/15.07, allocations: 0.9544 MB / 4.559 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/15.07, allocations: 1.181 MB / 4.56 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/15.07, allocations: 48.53 kB / 4.56 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 4.488e-06/15.07, allocations: 0.5625 kB / 4.56 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=134): time 0.01979/15.09, allocations: 4.654 MB / 4.564 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/15.09, allocations: 338.5 kB / 4.565 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009138/15.1, allocations: 2.609 MB / 4.567 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005552/15.1, allocations: 34.48 kB / 4.567 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/15.1, allocations: 1.502 MB / 4.569 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009168/15.1, allocations: 438.4 kB / 4.569 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/15.1, allocations: 3.125 kB / 4.569 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001712/15.1, allocations: 372.7 kB / 4.569 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/15.11, allocations: 1.005 MB / 4.57 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/15.11, allocations: 1.439 MB / 4.572 GB, free: 106 MB / 0.9792 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.01223/15.12, allocations: 3.723 MB / 4.576 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/15.12, allocations: 8.766 kB / 4.576 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008205/15.13, allocations: 2.788 MB / 4.578 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008405/15.13, allocations: 2.891 MB / 4.581 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/15.13, allocations: 16.67 kB / 4.581 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/15.13, allocations: 133.5 kB / 4.581 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/15.13, allocations: 265.9 kB / 4.581 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/15.14, allocations: 1.3 MB / 4.583 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/15.14, allocations: 179 kB / 4.583 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006136/15.14, allocations: 78.53 kB / 4.583 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/15.14, allocations: 9.406 kB / 4.583 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007417/15.15, allocations: 2.713 MB / 4.586 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/15.15, allocations: 7.188 kB / 4.586 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/15.15, allocations: 134.7 kB / 4.586 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/15.15, allocations: 265.5 kB / 4.586 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/15.15, allocations: 1.299 MB / 4.587 GB, free: 100 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/15.16, allocations: 170.4 kB / 4.587 GB, free: 100 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006427/15.16, allocations: 81.84 kB / 4.588 GB, free: 100 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: 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 () * 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.0007929/15.16, allocations: 350.8 kB / 4.588 GB, free: 99.71 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005899/15.16, allocations: 2.023 MB / 4.59 GB, free: 99.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/15.17, allocations: 301.8 kB / 4.59 GB, free: 99.34 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/15.17, allocations: 2.156 MB / 4.592 GB, free: 99.23 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/15.17, allocations: 14.97 kB / 4.592 GB, free: 99.23 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/15.17, allocations: 3.109 kB / 4.592 GB, free: 99.23 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004626/15.18, allocations: 1.958 MB / 4.594 GB, free: 98.95 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/15.19, allocations: 5.367 MB / 4.599 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/15.19, allocations: 9.781 kB / 4.599 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/15.19, allocations: 257 kB / 4.6 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.64e-05/15.19, allocations: 12.62 kB / 4.6 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002856/15.19, allocations: 28.23 kB / 4.6 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/15.19, allocations: 15.02 kB / 4.6 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/15.19, allocations: 10.5 kB / 4.6 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008784/15.2, allocations: 4.176 MB / 4.604 GB, free: 97.25 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00286/15.21, allocations: 0.6812 MB / 4.604 GB, free: 97 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/15.21, allocations: 18.81 kB / 4.604 GB, free: 97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003982/15.21, allocations: 142.9 kB / 4.605 GB, free: 96.99 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008146/15.21, allocations: 155.9 kB / 4.605 GB, free: 96.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002353/15.21, allocations: 65.48 kB / 4.605 GB, free: 96.98 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005979/15.22, allocations: 1.981 MB / 4.607 GB, free: 96.84 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.182e-06/15.22, allocations: 3.906 kB / 4.607 GB, free: 96.84 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009272/15.23, allocations: 1.381 MB / 4.608 GB, free: 96.84 MB / 0.9792 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.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * 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 (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.01783/15.25, allocations: 8.832 MB / 4.617 GB, free: 93.19 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0116/15.26, allocations: 5.451 MB / 4.622 GB, free: 91.64 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/15.26, allocations: 3 kB / 4.622 GB, free: 91.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003621/15.26, allocations: 1.838 MB / 4.624 GB, free: 91.26 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/15.27, allocations: 1.418 MB / 4.625 GB, free: 91.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/15.3, allocations: 5.888 MB / 4.631 GB, free: 89.93 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004631/15.3, allocations: 2.156 MB / 4.633 GB, free: 89.19 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.008828/15.31, allocations: 0.9829 MB / 4.634 GB, free: 89.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003224/15.31, allocations: 1.285 MB / 4.635 GB, free: 89.16 MB / 0.9792 GB Notification: Performance of SimCode: time 1.532e-06/15.31, allocations: 0 / 4.635 GB, free: 89.16 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2668/15.58, allocations: 103.6 MB / 4.737 GB, free: 83.47 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/15.58, allocations: 202.5 kB / 4.737 GB, free: 83.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/23.87, allocations: 3.75 kB / 4.737 GB, free: 83.27 MB / 0.9792 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)