Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001156/0.001156, allocations: 181.7 kB / 371.6 MB, free: 3.348 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.748/1.748, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.00103/0.001031, allocations: 92.34 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.352e-05/4.356e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2969, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.653/6.95, allocations: 2.345 GB / 3.325 GB, free: 212.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/6.95, allocations: 96.67 kB / 3.325 GB, free: 212 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.64/11.59, allocations: 1.237 GB / 4.562 GB, free: 51.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.373e-06/11.59, allocations: 0 / 4.562 GB, free: 51.24 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007053/11.59, allocations: 81.39 kB / 4.562 GB, free: 51.17 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.01168/11.6, allocations: 3.632 MB / 4.566 GB, free: 47.43 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/11.6, allocations: 8.031 kB / 4.566 GB, free: 47.42 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001273/11.6, allocations: 291.1 kB / 4.566 GB, free: 47.12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/11.61, allocations: 0.542 MB / 4.566 GB, free: 46.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/11.62, allocations: 3.389 MB / 4.57 GB, free: 43.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/11.62, allocations: 160 kB / 4.57 GB, free: 43.06 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/11.62, allocations: 223.9 kB / 4.57 GB, free: 42.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00681/11.63, allocations: 2.517 MB / 4.573 GB, free: 40.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-05/11.63, allocations: 11.38 kB / 4.573 GB, free: 40.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/11.63, allocations: 90.08 kB / 4.573 GB, free: 40.15 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/11.63, allocations: 71.89 kB / 4.573 GB, free: 40.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/11.63, allocations: 1.925 MB / 4.575 GB, free: 38.15 MB / 0.9636 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.01532/11.65, allocations: 10.48 MB / 4.585 GB, free: 27.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/11.65, allocations: 1.48 MB / 4.586 GB, free: 25.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/11.65, allocations: 0.9945 MB / 4.587 GB, free: 24.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007812/11.65, allocations: 1.176 MB / 4.588 GB, free: 23.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/11.65, allocations: 51.59 kB / 4.588 GB, free: 23.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 2.936e-06/11.65, allocations: 4 kB / 4.589 GB, free: 23.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.008863/11.66, allocations: 5.332 MB / 4.594 GB, free: 17.95 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/11.66, allocations: 341.7 kB / 4.594 GB, free: 17.54 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004964/11.66, allocations: 3.047 MB / 4.597 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003627/11.66, allocations: 57.7 kB / 4.597 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/11.66, allocations: 1.47 MB / 4.598 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/11.67, allocations: 459.3 kB / 4.599 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/11.67, allocations: 28 kB / 4.599 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001299/11.67, allocations: 369.9 kB / 4.599 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/11.67, allocations: 1.039 MB / 4.6 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/11.67, allocations: 1.483 MB / 4.602 GB, free: 9.453 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.00629/11.67, allocations: 4.188 MB / 4.606 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/11.67, allocations: 3.938 kB / 4.606 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004599/11.68, allocations: 3.261 MB / 4.609 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001076/11.68, allocations: 2.944 MB / 4.612 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/11.68, allocations: 8 kB / 4.612 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/11.68, allocations: 149.6 kB / 4.612 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/11.68, allocations: 263.6 kB / 4.612 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/11.68, allocations: 1.292 MB / 4.614 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/11.69, allocations: 215.6 kB / 4.614 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/11.69, allocations: 79.97 kB / 4.614 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/11.69, allocations: 4 kB / 4.614 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004917/11.69, allocations: 3.348 MB / 4.617 GB, free: 9.062 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/11.69, allocations: 4 kB / 4.617 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/11.69, allocations: 161.8 kB / 4.617 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/11.69, allocations: 255.6 kB / 4.618 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/11.69, allocations: 1.299 MB / 4.619 GB, free: 7.301 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/11.7, allocations: 203.6 kB / 4.619 GB, free: 7.102 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/11.7, allocations: 83.97 kB / 4.619 GB, free: 7.02 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.0006719/11.7, allocations: 389.2 kB / 4.619 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000715/11.7, allocations: 324 kB / 4.62 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/11.7, allocations: 2.475 MB / 4.622 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/11.7, allocations: 16 kB / 4.622 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/11.7, allocations: 0 / 4.622 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002963/11.71, allocations: 2.214 MB / 4.624 GB, free: 1.438 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/11.72, allocations: 5.908 MB / 4.63 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/11.72, allocations: 7.984 kB / 4.63 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/11.72, allocations: 263.7 kB / 4.63 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/11.72, allocations: 12 kB / 4.63 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/11.72, allocations: 39.98 kB / 4.63 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/11.72, allocations: 11.98 kB / 4.63 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/11.72, allocations: 15.88 kB / 4.63 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006344/11.73, allocations: 4.58 MB / 4.635 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/11.73, allocations: 0.719 MB / 4.636 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005597/11.73, allocations: 43.95 kB / 4.636 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/11.73, allocations: 171.6 kB / 4.636 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/11.73, allocations: 168.6 kB / 4.636 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/11.73, allocations: 59.97 kB / 4.636 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.004815/11.74, allocations: 2.358 MB / 4.638 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.1e-07/11.74, allocations: 0 / 4.638 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006349/11.74, allocations: 1.507 MB / 4.64 GB, free: 1.195 MB / 0.9948 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.8691/12.61, allocations: 9.069 MB / 4.649 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009635/12.62, allocations: 5.606 MB / 4.654 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/12.62, allocations: 3.875 kB / 4.654 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002948/12.62, allocations: 1.873 MB / 4.656 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01106/12.64, allocations: 1.618 MB / 4.658 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/12.65, allocations: 6.059 MB / 4.664 GB, free: 106 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/12.65, allocations: 2.16 MB / 4.666 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005602/12.66, allocations: 1.055 MB / 4.667 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/12.66, allocations: 1.295 MB / 4.668 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of SimCode: time 9.72e-07/12.66, allocations: 0 / 4.668 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2547/12.92, allocations: 136.9 MB / 4.802 GB, free: 98.61 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/12.92, allocations: 236.3 kB / 4.802 GB, free: 98.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/20.5, allocations: 1.422 kB / 4.802 GB, free: 98.3 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)