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.002002/0.002002, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4765/0.4765, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 103.4 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.82e-05/4.861e-05, allocations: 4 kB / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4308, allocations: 72.31 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.163/5.594, allocations: 2.138 GB / 2.698 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/5.594, allocations: 102.8 kB / 2.698 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.973/10.57, allocations: 1.251 GB / 3.95 GB, free: 43.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.152e-06/10.57, allocations: 2.5 kB / 3.95 GB, free: 43.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006056/10.57, allocations: 88.81 kB / 3.95 GB, free: 43.85 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.009404/10.58, allocations: 3.625 MB / 3.953 GB, free: 42.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/10.58, allocations: 17.58 kB / 3.953 GB, free: 42.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006853/10.58, allocations: 290 kB / 3.953 GB, free: 42.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/10.58, allocations: 0.5364 MB / 3.954 GB, free: 42.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007839/10.59, allocations: 3.401 MB / 3.957 GB, free: 41.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/10.59, allocations: 166.1 kB / 3.957 GB, free: 41.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/10.59, allocations: 223 kB / 3.958 GB, free: 41.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004377/10.59, allocations: 2.528 MB / 3.96 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/10.59, allocations: 5.188 kB / 3.96 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/10.59, allocations: 86.25 kB / 3.96 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/10.59, allocations: 80.25 kB / 3.96 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/10.6, allocations: 1.92 MB / 3.962 GB, free: 41.51 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.01393/10.61, allocations: 10.5 MB / 3.972 GB, free: 38.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/10.61, allocations: 1.449 MB / 3.974 GB, free: 38.08 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/10.61, allocations: 0.991 MB / 3.975 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008542/10.61, allocations: 1.181 MB / 3.976 GB, free: 36.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/10.61, allocations: 51.47 kB / 3.976 GB, free: 36.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 4.489e-06/10.61, allocations: 0 / 3.976 GB, free: 36.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=134): time 0.009248/10.62, allocations: 5.326 MB / 3.981 GB, free: 35.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/10.62, allocations: 343.4 kB / 3.982 GB, free: 34.81 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004778/10.63, allocations: 3.055 MB / 3.985 GB, free: 34.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000268/10.63, allocations: 58.36 kB / 3.985 GB, free: 34.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/10.63, allocations: 1.475 MB / 3.986 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/10.63, allocations: 459.5 kB / 3.986 GB, free: 33.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/10.63, allocations: 33.25 kB / 3.987 GB, free: 33.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001113/10.63, allocations: 362 kB / 3.987 GB, free: 33.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/10.63, allocations: 1.041 MB / 3.988 GB, free: 33.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/10.63, allocations: 1.472 MB / 3.989 GB, free: 33.16 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.006288/10.64, allocations: 4.193 MB / 3.993 GB, free: 32.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/10.64, allocations: 0 / 3.993 GB, free: 32.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004283/10.64, allocations: 3.267 MB / 3.997 GB, free: 31.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005688/10.64, allocations: 2.935 MB / 3.999 GB, free: 28.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/10.64, allocations: 7.875 kB / 3.999 GB, free: 28.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/10.65, allocations: 159.8 kB / 4 GB, free: 28.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/10.65, allocations: 265.7 kB / 4 GB, free: 28.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006949/10.65, allocations: 1.289 MB / 4.001 GB, free: 27.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/10.65, allocations: 213.6 kB / 4.001 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/10.65, allocations: 86.45 kB / 4.001 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/10.65, allocations: 3.906 kB / 4.001 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003702/10.65, allocations: 3.347 MB / 4.005 GB, free: 27.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/10.65, allocations: 4.469 kB / 4.005 GB, free: 27.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003891/10.65, allocations: 155.5 kB / 4.005 GB, free: 27.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/10.65, allocations: 261.4 kB / 4.005 GB, free: 27.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006551/10.66, allocations: 1.292 MB / 4.006 GB, free: 26.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/10.66, allocations: 210.1 kB / 4.007 GB, free: 26.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/10.66, allocations: 88.06 kB / 4.007 GB, free: 26.02 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.0004749/10.66, allocations: 390.1 kB / 4.007 GB, free: 25.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/10.66, allocations: 324.1 kB / 4.007 GB, free: 25.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/10.66, allocations: 2.477 MB / 4.01 GB, free: 25.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/10.66, allocations: 14.88 kB / 4.01 GB, free: 25.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/10.66, allocations: 0 / 4.01 GB, free: 25.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002272/10.67, allocations: 2.216 MB / 4.012 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009619/10.67, allocations: 5.914 MB / 4.018 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/10.67, allocations: 7.844 kB / 4.018 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/10.68, allocations: 259.3 kB / 4.018 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.158e-05/10.68, allocations: 13.38 kB / 4.018 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/10.68, allocations: 38.83 kB / 4.018 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.578e-05/10.68, allocations: 13.62 kB / 4.018 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/10.68, allocations: 9.344 kB / 4.018 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004923/10.68, allocations: 4.572 MB / 4.022 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/10.68, allocations: 0.7079 MB / 4.023 GB, free: 22.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000943/10.68, allocations: 45.27 kB / 4.023 GB, free: 22.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/10.69, allocations: 167 kB / 4.023 GB, free: 22.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/10.69, allocations: 161.1 kB / 4.024 GB, free: 22.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/10.69, allocations: 63.34 kB / 4.024 GB, free: 22.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004426/10.69, allocations: 2.362 MB / 4.026 GB, free: 22.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/10.69, allocations: 0 / 4.026 GB, free: 22.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005333/10.7, allocations: 1.509 MB / 4.027 GB, free: 22.06 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.009366/10.71, allocations: 9.063 MB / 4.036 GB, free: 18.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005882/10.71, allocations: 5.613 MB / 4.042 GB, free: 16.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/10.71, allocations: 0 / 4.042 GB, free: 16.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/10.71, allocations: 1.865 MB / 4.044 GB, free: 16.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008045/10.72, allocations: 1.596 MB / 4.045 GB, free: 16.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/10.74, allocations: 6.074 MB / 4.051 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/10.74, allocations: 2.159 MB / 4.053 GB, free: 30.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.005652/10.74, allocations: 1.063 MB / 4.054 GB, free: 29.99 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/10.75, allocations: 1.29 MB / 4.055 GB, free: 29.99 MB / 0.6667 GB Notification: Performance of SimCode: time 1.333e-06/10.75, allocations: 3.594 kB / 4.055 GB, free: 29.99 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/10.94, allocations: 136.4 MB / 4.189 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/10.94, allocations: 236 kB / 4.189 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.415/17.36, allocations: 3.938 kB / 4.189 GB, free: 1.859 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)