Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 177.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4821/0.4821, allocations: 90.92 MB / 99.35 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008995, allocations: 104.3 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.812e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1619, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.279/5.441, allocations: 2.137 GB / 2.691 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/5.442, allocations: 97.64 kB / 2.691 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.406/9.848, allocations: 1.242 GB / 3.933 GB, free: 46.13 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.273e-06/9.848, allocations: 0 / 3.933 GB, free: 46.13 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005145/9.848, allocations: 88.47 kB / 3.933 GB, free: 46.12 MB / 0.6511 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.008676/9.857, allocations: 3.626 MB / 3.937 GB, free: 44.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/9.857, allocations: 9.531 kB / 3.937 GB, free: 44.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/9.86, allocations: 0.5334 MB / 3.937 GB, free: 44.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006178/9.867, allocations: 3.408 MB / 3.941 GB, free: 43.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/9.867, allocations: 66.25 kB / 3.941 GB, free: 43.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/9.867, allocations: 142.9 kB / 3.941 GB, free: 43.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002788/9.87, allocations: 1.811 MB / 3.943 GB, free: 43.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/9.873, allocations: 2.227 MB / 3.945 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/9.873, allocations: 3.125 kB / 3.945 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/9.873, allocations: 7.281 kB / 3.945 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/9.873, allocations: 75.59 kB / 3.945 GB, free: 43.21 MB / 0.6511 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.01197/9.885, allocations: 10.05 MB / 3.955 GB, free: 39.92 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/9.887, allocations: 1.4 MB / 3.956 GB, free: 39.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009309/9.888, allocations: 0.9513 MB / 3.957 GB, free: 39.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/9.889, allocations: 1.184 MB / 3.958 GB, free: 38.56 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/9.889, allocations: 50.66 kB / 3.958 GB, free: 38.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 3.377e-06/9.889, allocations: 0 / 3.958 GB, free: 38.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=134): time 0.007726/9.896, allocations: 4.649 MB / 3.963 GB, free: 37.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/9.897, allocations: 342.8 kB / 3.963 GB, free: 37.19 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/9.9, allocations: 2.619 MB / 3.966 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/9.9, allocations: 35.8 kB / 3.966 GB, free: 36.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009268/9.901, allocations: 1.492 MB / 3.967 GB, free: 36.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/9.901, allocations: 439.9 kB / 3.968 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/9.901, allocations: 6.375 kB / 3.968 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/9.901, allocations: 364.5 kB / 3.968 GB, free: 35.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/9.902, allocations: 1.012 MB / 3.969 GB, free: 35.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/9.904, allocations: 1.435 MB / 3.97 GB, free: 35.48 MB / 0.6511 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.005446/9.909, allocations: 3.732 MB / 3.974 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/9.909, allocations: 2.094 kB / 3.974 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003896/9.913, allocations: 2.791 MB / 3.977 GB, free: 34.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005098/9.914, allocations: 2.889 MB / 3.979 GB, free: 31.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/9.914, allocations: 7.219 kB / 3.979 GB, free: 31.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/9.914, allocations: 135.9 kB / 3.98 GB, free: 31.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009181/9.915, allocations: 267.4 kB / 3.98 GB, free: 31.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000695/9.916, allocations: 1.306 MB / 3.981 GB, free: 30.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/9.918, allocations: 181 kB / 3.981 GB, free: 30.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/9.918, allocations: 77.22 kB / 3.981 GB, free: 30.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/9.918, allocations: 6.031 kB / 3.981 GB, free: 30.61 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003455/9.922, allocations: 2.708 MB / 3.984 GB, free: 30.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/9.922, allocations: 7.531 kB / 3.984 GB, free: 30.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/9.922, allocations: 139.9 kB / 3.984 GB, free: 30.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/9.923, allocations: 261.2 kB / 3.984 GB, free: 30.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006447/9.923, allocations: 1.309 MB / 3.986 GB, free: 29.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/9.926, allocations: 171 kB / 3.986 GB, free: 29.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/9.926, allocations: 83.58 kB / 3.986 GB, free: 29.48 MB / 0.6511 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.0004252/9.926, allocations: 346.8 kB / 3.986 GB, free: 29.18 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003005/9.929, allocations: 2.029 MB / 3.988 GB, free: 28.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006697/9.93, allocations: 295.4 kB / 3.989 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/9.933, allocations: 2.161 MB / 3.991 GB, free: 28.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/9.933, allocations: 15.97 kB / 3.991 GB, free: 28.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/9.933, allocations: 0 / 3.991 GB, free: 28.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00226/9.936, allocations: 1.96 MB / 3.993 GB, free: 28.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008424/9.944, allocations: 5.371 MB / 3.998 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/9.944, allocations: 3.906 kB / 3.998 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/9.945, allocations: 261.4 kB / 3.998 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/9.945, allocations: 10.09 kB / 3.998 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/9.945, allocations: 26.45 kB / 3.998 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/9.945, allocations: 17.19 kB / 3.998 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.14e-05/9.945, allocations: 16.02 kB / 3.998 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/9.95, allocations: 4.144 MB / 4.002 GB, free: 26.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/9.951, allocations: 0.6816 MB / 4.003 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006632/9.952, allocations: 22.44 kB / 4.003 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/9.954, allocations: 140.5 kB / 4.003 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/9.954, allocations: 168.2 kB / 4.003 GB, free: 26.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/9.954, allocations: 63.33 kB / 4.003 GB, free: 26.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003441/9.958, allocations: 1.98 MB / 4.005 GB, free: 26.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/9.958, allocations: 0 / 4.005 GB, free: 26.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004886/9.963, allocations: 1.383 MB / 4.007 GB, free: 26.23 MB / 0.6511 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.medium.Xi[1],vol.dynBal.U,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.009066/9.972, allocations: 8.823 MB / 4.015 GB, free: 22.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005379/9.977, allocations: 5.459 MB / 4.02 GB, free: 20.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/9.977, allocations: 3.719 kB / 4.02 GB, free: 20.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/9.979, allocations: 1.832 MB / 4.022 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006812/9.986, allocations: 1.384 MB / 4.024 GB, free: 20.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/10, allocations: 5.89 MB / 4.029 GB, free: 19.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/10, allocations: 2.158 MB / 4.031 GB, free: 18.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004795/10.01, allocations: 0.9758 MB / 4.032 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/10.01, allocations: 1.29 MB / 4.034 GB, free: 18.38 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/10.01, allocations: 0 / 4.034 GB, free: 18.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1549/10.16, allocations: 103.2 MB / 4.134 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/10.16, allocations: 189.1 kB / 4.135 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.284/15.45, allocations: 0 / 4.135 GB, free: 12.06 MB / 0.6823 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)