Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.906 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.001059/0.001059, allocations: 173 kB / 316.3 MB, free: 3.285 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.727/1.727, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008599/0.0008602, allocations: 102.4 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.907e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2235, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.7/5.923, allocations: 2.461 GB / 3.347 GB, free: 289.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/5.924, allocations: 99.94 kB / 3.347 GB, free: 289.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.041/9.965, allocations: 1.197 GB / 4.543 GB, free: 58.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.274e-06/9.965, allocations: 3.938 kB / 4.543 GB, free: 58.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000435/9.965, allocations: 78.42 kB / 4.543 GB, free: 58.71 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.00926/9.975, allocations: 3.637 MB / 4.547 GB, free: 54.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/9.975, allocations: 12.03 kB / 4.547 GB, free: 54.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/9.977, allocations: 0.5305 MB / 4.547 GB, free: 54.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006796/9.984, allocations: 3.403 MB / 4.551 GB, free: 51.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/9.984, allocations: 68 kB / 4.551 GB, free: 50.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/9.985, allocations: 132 kB / 4.551 GB, free: 50.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002914/9.988, allocations: 1.812 MB / 4.553 GB, free: 49.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/9.991, allocations: 2.224 MB / 4.555 GB, free: 46.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/9.991, allocations: 4 kB / 4.555 GB, free: 46.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/9.991, allocations: 4 kB / 4.555 GB, free: 46.69 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.278e-05/9.991, allocations: 76.19 kB / 4.555 GB, free: 46.62 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.01568/10.01, allocations: 10.05 MB / 4.565 GB, free: 36.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/10.01, allocations: 1.414 MB / 4.566 GB, free: 34.93 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/10.01, allocations: 0.9374 MB / 4.567 GB, free: 33.99 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009472/10.01, allocations: 1.182 MB / 4.568 GB, free: 32.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/10.01, allocations: 53.52 kB / 4.568 GB, free: 32.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 3.737e-06/10.01, allocations: 0 / 4.568 GB, free: 32.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=134): time 0.009724/10.02, allocations: 4.643 MB / 4.573 GB, free: 27.81 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/10.02, allocations: 341.7 kB / 4.573 GB, free: 27.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003923/10.02, allocations: 2.62 MB / 4.576 GB, free: 24.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002889/10.03, allocations: 33.7 kB / 4.576 GB, free: 24.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009707/10.03, allocations: 1.504 MB / 4.577 GB, free: 23.22 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/10.03, allocations: 433.5 kB / 4.577 GB, free: 22.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/10.03, allocations: 4 kB / 4.577 GB, free: 22.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001452/10.03, allocations: 369.9 kB / 4.578 GB, free: 22.42 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/10.03, allocations: 1.008 MB / 4.579 GB, free: 21.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/10.03, allocations: 1.433 MB / 4.58 GB, free: 19.83 MB / 0.8855 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.006354/10.04, allocations: 3.722 MB / 4.584 GB, free: 16.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/10.04, allocations: 0 / 4.584 GB, free: 16.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005369/10.04, allocations: 2.784 MB / 4.587 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008343/10.04, allocations: 2.896 MB / 4.589 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/10.04, allocations: 12 kB / 4.589 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003647/10.04, allocations: 137.6 kB / 4.59 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009748/10.04, allocations: 259.6 kB / 4.59 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008023/10.04, allocations: 1.304 MB / 4.591 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/10.05, allocations: 175.8 kB / 4.591 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/10.05, allocations: 79.94 kB / 4.591 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/10.05, allocations: 11.92 kB / 4.591 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003596/10.05, allocations: 2.7 MB / 4.594 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/10.05, allocations: 4 kB / 4.594 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/10.05, allocations: 152.7 kB / 4.594 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/10.05, allocations: 259.6 kB / 4.594 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000722/10.05, allocations: 1.303 MB / 4.596 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/10.06, allocations: 175.7 kB / 4.596 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/10.06, allocations: 79.97 kB / 4.596 GB, free: 3.309 MB / 0.8855 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.0005448/10.06, allocations: 338.5 kB / 4.596 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003261/10.06, allocations: 2.028 MB / 4.598 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007489/10.06, allocations: 296.3 kB / 4.598 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/10.06, allocations: 2.152 MB / 4.601 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/10.06, allocations: 12 kB / 4.601 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/10.06, allocations: 7.938 kB / 4.601 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002939/10.07, allocations: 1.961 MB / 4.602 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/10.08, allocations: 5.354 MB / 4.608 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/10.08, allocations: 4 kB / 4.608 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/10.08, allocations: 256.3 kB / 4.608 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-05/10.08, allocations: 12 kB / 4.608 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/10.08, allocations: 35.94 kB / 4.608 GB, free: 6.672 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.159e-05/10.08, allocations: 15.92 kB / 4.608 GB, free: 6.656 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/10.08, allocations: 8 kB / 4.608 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00599/10.09, allocations: 4.172 MB / 4.612 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/10.09, allocations: 0.6808 MB / 4.613 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/10.09, allocations: 19.98 kB / 4.613 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002411/10.09, allocations: 143.7 kB / 4.613 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/10.1, allocations: 157 kB / 4.613 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/10.1, allocations: 59.97 kB / 4.613 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004867/10.1, allocations: 1.995 MB / 4.615 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.21e-07/10.1, allocations: 0 / 4.615 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007948/10.11, allocations: 1.382 MB / 4.616 GB, free: 13.79 MB / 0.9167 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.01313/10.12, allocations: 8.823 MB / 4.625 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.6234/10.74, allocations: 5.444 MB / 4.63 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/10.74, allocations: 4.906 kB / 4.63 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003159/10.75, allocations: 1.835 MB / 4.632 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00893/10.76, allocations: 1.403 MB / 4.634 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/10.78, allocations: 5.887 MB / 4.639 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002273/10.78, allocations: 2.164 MB / 4.641 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004895/10.78, allocations: 0.975 MB / 4.642 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/10.79, allocations: 1.288 MB / 4.644 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.333e-06/10.79, allocations: 4.719 kB / 4.644 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1774/10.96, allocations: 103.6 MB / 4.745 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/10.96, allocations: 203.8 kB / 4.745 GB, free: 104 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.445/16.41, allocations: 7.125 kB / 4.745 GB, free: 104 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)