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.00153/0.00153, allocations: 181.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4897/0.4897, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.46/1.46, allocations: 223.2 MB / 354.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 96.33 kB / 427.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 8 kB / 0.4983 GB, free: 41.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1604, allocations: 72.29 MB / 0.5689 GB, free: 1.621 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.292/5.452, allocations: 2.138 GB / 2.707 GB, free: 211.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/5.452, allocations: 107.7 kB / 2.707 GB, free: 211.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.523/9.975, allocations: 1.254 GB / 3.961 GB, free: 46.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.106e-06/9.975, allocations: 0 / 3.961 GB, free: 46.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006543/9.976, allocations: 92.38 kB / 3.961 GB, free: 46.29 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.01334/9.989, allocations: 4.32 MB / 3.965 GB, free: 44.01 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/9.989, allocations: 6.25 kB / 3.965 GB, free: 44.01 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001392/9.991, allocations: 294.3 kB / 3.966 GB, free: 43.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/9.994, allocations: 0.5317 MB / 3.966 GB, free: 43.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/10, allocations: 3.429 MB / 3.97 GB, free: 43.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/10, allocations: 163.2 kB / 3.97 GB, free: 43.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009909/10.01, allocations: 218 kB / 3.97 GB, free: 43.14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007092/10.01, allocations: 2.59 MB / 3.972 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.06e-05/10.01, allocations: 5.844 kB / 3.972 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005162/10.01, allocations: 82.88 kB / 3.972 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/10.01, allocations: 73.17 kB / 3.973 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004459/10.02, allocations: 2.027 MB / 3.975 GB, free: 42.85 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01928/10.04, allocations: 10.5 MB / 3.985 GB, free: 39.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/10.04, allocations: 1.533 MB / 3.986 GB, free: 39.42 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009275/10.04, allocations: 1.186 MB / 3.987 GB, free: 38.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/10.04, allocations: 49.31 kB / 3.987 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 3.516e-06/10.04, allocations: 0 / 3.987 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=134): time 0.01298/10.05, allocations: 6.794 MB / 3.994 GB, free: 35.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/10.05, allocations: 344.4 kB / 3.994 GB, free: 35.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007585/10.06, allocations: 3.084 MB / 3.997 GB, free: 35.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004545/10.06, allocations: 60.47 kB / 3.998 GB, free: 35.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002082/10.06, allocations: 1.474 MB / 3.999 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006606/10.07, allocations: 457.4 kB / 3.999 GB, free: 34.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/10.07, allocations: 33.22 kB / 3.999 GB, free: 34.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000213/10.07, allocations: 367.6 kB / 4 GB, free: 34.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/10.07, allocations: 1.082 MB / 4.001 GB, free: 34.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/10.07, allocations: 1.513 MB / 4.002 GB, free: 33.95 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.007826/10.08, allocations: 4.278 MB / 4.006 GB, free: 33.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/10.08, allocations: 3.719 kB / 4.006 GB, free: 33.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005565/10.08, allocations: 3.333 MB / 4.01 GB, free: 32.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008298/10.08, allocations: 2.941 MB / 4.013 GB, free: 29.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/10.08, allocations: 7.781 kB / 4.013 GB, free: 29.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/10.08, allocations: 158 kB / 4.013 GB, free: 29.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/10.09, allocations: 257.7 kB / 4.013 GB, free: 29.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008805/10.09, allocations: 1.292 MB / 4.014 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/10.09, allocations: 201 kB / 4.014 GB, free: 28.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/10.09, allocations: 85.08 kB / 4.015 GB, free: 28.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/10.09, allocations: 2.531 kB / 4.015 GB, free: 28.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004545/10.09, allocations: 3.418 MB / 4.018 GB, free: 27.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/10.09, allocations: 5.281 kB / 4.018 GB, free: 27.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/10.09, allocations: 150.6 kB / 4.018 GB, free: 27.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/10.1, allocations: 261.8 kB / 4.018 GB, free: 27.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008373/10.1, allocations: 1.293 MB / 4.02 GB, free: 26.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/10.1, allocations: 197.9 kB / 4.02 GB, free: 26.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/10.1, allocations: 83.38 kB / 4.02 GB, free: 26.81 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 () * Number of clocked 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.002925/10.1, allocations: 1.112 MB / 4.021 GB, free: 26.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/10.1, allocations: 327.4 kB / 4.021 GB, free: 26.26 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005137/10.11, allocations: 2.561 MB / 4.024 GB, free: 25.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/10.11, allocations: 13 kB / 4.024 GB, free: 25.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/10.11, allocations: 0 / 4.024 GB, free: 25.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002797/10.11, allocations: 2.305 MB / 4.026 GB, free: 25.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/10.12, allocations: 5.984 MB / 4.032 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/10.12, allocations: 6.875 kB / 4.032 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/10.13, allocations: 262.2 kB / 4.032 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.367e-05/10.13, allocations: 11.75 kB / 4.032 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/10.13, allocations: 37.88 kB / 4.032 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/10.13, allocations: 17.75 kB / 4.032 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/10.13, allocations: 7.875 kB / 4.032 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005669/10.13, allocations: 4.687 MB / 4.037 GB, free: 23.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/10.13, allocations: 0.7122 MB / 4.037 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/10.14, allocations: 46.64 kB / 4.037 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/10.14, allocations: 173.9 kB / 4.038 GB, free: 23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/10.14, allocations: 155.4 kB / 4.038 GB, free: 23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/10.14, allocations: 60.06 kB / 4.038 GB, free: 23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.006445/10.14, allocations: 2.405 MB / 4.04 GB, free: 22.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.91e-07/10.14, allocations: 0 / 4.04 GB, free: 22.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007539/10.15, allocations: 1.503 MB / 4.042 GB, free: 22.21 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.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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.01183/10.16, allocations: 9.168 MB / 4.051 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007592/10.17, allocations: 5.612 MB / 4.056 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/10.17, allocations: 3.375 kB / 4.056 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002957/10.17, allocations: 1.911 MB / 4.058 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/10.19, allocations: 1.598 MB / 4.06 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/10.21, allocations: 12.81 MB / 4.072 GB, free: 19.41 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/10.21, allocations: 2.153 MB / 4.074 GB, free: 18.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003631/10.21, allocations: 0.6444 MB / 4.075 GB, free: 18.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/10.22, allocations: 1.372 MB / 4.076 GB, free: 17.29 MB / 0.6667 GB Notification: Performance of SimCode: time 1.373e-06/10.22, allocations: 0 / 4.076 GB, free: 17.29 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7161/10.93, allocations: 125.5 MB / 4.199 GB, free: 52.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/10.93, allocations: 257.6 kB / 4.199 GB, free: 51.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.177/17.11, allocations: 0 / 4.199 GB, free: 51.98 MB / 0.6667 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)