Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7817/0.7817, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.00118, allocations: 173.8 kB / 164.6 MB, free: 11.63 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008987/0.0008989, allocations: 90.88 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.218e-05, allocations: 5.25 kB / 0.5467 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1624, allocations: 76.77 MB / 0.6216 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.752/5.915, allocations: 2.416 GB / 3.038 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/5.915, allocations: 97.62 kB / 3.038 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.733/10.65, allocations: 1.214 GB / 4.252 GB, free: 57.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/10.65, allocations: 6.281 kB / 4.252 GB, free: 57.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004974/10.65, allocations: 85.5 kB / 4.252 GB, free: 57.15 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 549 * Number of variables: 549 Notification: Performance of Generate backend data structure: time 0.009946/10.66, allocations: 3.704 MB / 4.255 GB, free: 54.76 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/10.66, allocations: 10.12 kB / 4.255 GB, free: 54.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/10.66, allocations: 0.5508 MB / 4.256 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/10.68, allocations: 7.788 MB / 4.263 GB, free: 51.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/10.68, allocations: 68.19 kB / 4.263 GB, free: 51.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/10.68, allocations: 148.9 kB / 4.264 GB, free: 51.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003256/10.68, allocations: 1.879 MB / 4.265 GB, free: 50.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/10.69, allocations: 2.354 MB / 4.268 GB, free: 49.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.503e-05/10.69, allocations: 3.938 kB / 4.268 GB, free: 49.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/10.69, allocations: 10.31 kB / 4.268 GB, free: 49.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/10.69, allocations: 79.56 kB / 4.268 GB, free: 49.44 MB / 0.6823 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.0145/10.7, allocations: 10.85 MB / 4.278 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/10.7, allocations: 1.332 MB / 4.28 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/10.7, allocations: 0.8934 MB / 4.281 GB, free: 40.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005309/10.7, allocations: 0.7584 MB / 4.281 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/10.7, allocations: 58.98 kB / 4.281 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=115): time 2.995e-06/10.7, allocations: 0 / 4.281 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.008472/10.71, allocations: 4.478 MB / 4.286 GB, free: 36.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/10.71, allocations: 341.7 kB / 4.286 GB, free: 35.63 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/10.72, allocations: 2.65 MB / 4.289 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/10.72, allocations: 33.7 kB / 4.289 GB, free: 32.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/10.72, allocations: 1.605 MB / 4.29 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/10.72, allocations: 405.9 kB / 4.291 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/10.72, allocations: 4 kB / 4.291 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/10.72, allocations: 369.9 kB / 4.291 GB, free: 30.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/10.72, allocations: 1.015 MB / 4.292 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/10.72, allocations: 1.53 MB / 4.293 GB, free: 27.79 MB / 0.6823 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.00569/10.73, allocations: 3.698 MB / 4.297 GB, free: 24.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/10.73, allocations: 4 kB / 4.297 GB, free: 24.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.00446/10.73, allocations: 2.852 MB / 4.3 GB, free: 21.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009329/10.73, allocations: 4.456 MB / 4.304 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/10.73, allocations: 11 kB / 4.304 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/10.73, allocations: 141.7 kB / 4.304 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/10.73, allocations: 299.5 kB / 4.305 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008156/10.73, allocations: 1.3 MB / 4.306 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/10.74, allocations: 183.7 kB / 4.306 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/10.74, allocations: 95.84 kB / 4.306 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/10.74, allocations: 4 kB / 4.306 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003643/10.74, allocations: 2.735 MB / 4.309 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/10.74, allocations: 8 kB / 4.309 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/10.74, allocations: 145.6 kB / 4.309 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/10.74, allocations: 268 kB / 4.309 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000715/10.74, allocations: 1.308 MB / 4.311 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/10.75, allocations: 163.7 kB / 4.311 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/10.75, allocations: 83.98 kB / 4.311 GB, free: 9.41 MB / 0.6823 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: 42 * 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 (173): * Single equations (assignments): 159 * 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.0005265/10.75, allocations: 339 kB / 4.311 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003026/10.75, allocations: 1.946 MB / 4.313 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/10.75, allocations: 304.2 kB / 4.313 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/10.75, allocations: 2.035 MB / 4.315 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/10.75, allocations: 16 kB / 4.315 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/10.75, allocations: 0 / 4.315 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002033/10.76, allocations: 1.856 MB / 4.317 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009255/10.76, allocations: 4.956 MB / 4.322 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/10.76, allocations: 7.375 kB / 4.322 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/10.77, allocations: 247.3 kB / 4.322 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/10.77, allocations: 8 kB / 4.322 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/10.77, allocations: 20.27 kB / 4.322 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/10.77, allocations: 15.95 kB / 4.322 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/10.77, allocations: 4 kB / 4.322 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005449/10.77, allocations: 3.732 MB / 4.326 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/10.77, allocations: 0.6572 MB / 4.327 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/10.77, allocations: 16 kB / 4.327 GB, free: 8.934 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/10.78, allocations: 151.7 kB / 4.327 GB, free: 8.785 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/10.78, allocations: 141.1 kB / 4.327 GB, free: 8.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/10.78, allocations: 55.95 kB / 4.327 GB, free: 8.594 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003361/10.78, allocations: 1.997 MB / 4.329 GB, free: 6.605 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/10.78, allocations: 0 / 4.329 GB, free: 6.605 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004794/10.78, allocations: 1.399 MB / 4.33 GB, free: 5.207 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 2 * 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.4929/11.28, allocations: 7.872 MB / 4.338 GB, free: 72.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008712/11.29, allocations: 5.452 MB / 4.343 GB, free: 71.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/11.29, allocations: 1.781 kB / 4.343 GB, free: 71.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/11.29, allocations: 1.569 MB / 4.345 GB, free: 70.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007497/11.3, allocations: 1.409 MB / 4.346 GB, free: 70.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/11.31, allocations: 5.832 MB / 4.352 GB, free: 69.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/11.31, allocations: 2.181 MB / 4.354 GB, free: 68.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004474/11.31, allocations: 0.9821 MB / 4.355 GB, free: 68.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/11.32, allocations: 1.331 MB / 4.356 GB, free: 68.84 MB / 0.698 GB Notification: Performance of SimCode: time 1.412e-06/11.32, allocations: 1.219 kB / 4.356 GB, free: 68.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.175/11.49, allocations: 105 MB / 4.459 GB, free: 62.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/11.49, allocations: 201.1 kB / 4.459 GB, free: 61.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.861/17.35, allocations: 0 / 4.459 GB, free: 61.92 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)