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.7795/0.7795, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001269/0.001269, allocations: 178.4 kB / 173.7 MB, free: 6.133 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.85/1.85, allocations: 205.4 MB / 409 MB, free: 10.5 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.001193/0.001193, allocations: 99.03 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004134, allocations: 9.812 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 76.78 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.079/6.262, allocations: 2.417 GB / 3.052 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/6.263, allocations: 114.7 kB / 3.053 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.448/10.71, allocations: 1.225 GB / 4.278 GB, free: 55.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.335e-06/10.71, allocations: 0 / 4.278 GB, free: 55.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003245/10.71, allocations: 88.08 kB / 4.278 GB, free: 55.38 MB / 0.698 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.01027/10.72, allocations: 4.406 MB / 4.282 GB, free: 53.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/10.72, allocations: 10.19 kB / 4.282 GB, free: 53.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001048/10.72, allocations: 305.6 kB / 4.283 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004348/10.73, allocations: 0.549 MB / 4.283 GB, free: 52.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03002/10.76, allocations: 7.88 MB / 4.291 GB, free: 52.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/10.76, allocations: 172.7 kB / 4.291 GB, free: 52.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/10.76, allocations: 228.2 kB / 4.291 GB, free: 52.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/10.77, allocations: 2.804 MB / 4.294 GB, free: 51.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/10.77, allocations: 6.953 kB / 4.294 GB, free: 51.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007358/10.77, allocations: 93.69 kB / 4.294 GB, free: 51.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/10.77, allocations: 84.38 kB / 4.294 GB, free: 51.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008864/10.78, allocations: 2.177 MB / 4.296 GB, free: 51.81 MB / 0.698 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.02943/10.81, allocations: 11.32 MB / 4.307 GB, free: 47.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/10.81, allocations: 1.49 MB / 4.309 GB, free: 47.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009111/10.82, allocations: 0.7601 MB / 4.31 GB, free: 46.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/10.82, allocations: 52.55 kB / 4.31 GB, free: 46.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 5.711e-06/10.82, allocations: 0 / 4.31 GB, free: 46.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=123): time 0.02074/10.84, allocations: 6.64 MB / 4.316 GB, free: 44.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/10.84, allocations: 341 kB / 4.316 GB, free: 44.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00991/10.85, allocations: 3.15 MB / 4.319 GB, free: 43.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005686/10.85, allocations: 59.42 kB / 4.32 GB, free: 43.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002364/10.85, allocations: 1.597 MB / 4.321 GB, free: 43.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008119/10.85, allocations: 429 kB / 4.322 GB, free: 43.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/10.85, allocations: 34.62 kB / 4.322 GB, free: 43.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001962/10.85, allocations: 368.4 kB / 4.322 GB, free: 42.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/10.85, allocations: 1.092 MB / 4.323 GB, free: 42.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003315/10.86, allocations: 1.625 MB / 4.325 GB, free: 42.35 MB / 0.698 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.01214/10.87, allocations: 4.246 MB / 4.329 GB, free: 41.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/10.87, allocations: 9.641 kB / 4.329 GB, free: 41.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.008918/10.88, allocations: 3.447 MB / 4.332 GB, free: 40.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001369/10.88, allocations: 4.532 MB / 4.337 GB, free: 36.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/10.88, allocations: 7.781 kB / 4.337 GB, free: 36.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/10.88, allocations: 151.4 kB / 4.337 GB, free: 36.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/10.88, allocations: 301.5 kB / 4.337 GB, free: 36.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/10.88, allocations: 1.296 MB / 4.338 GB, free: 35.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005087/10.89, allocations: 211.1 kB / 4.338 GB, free: 35.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/10.89, allocations: 85.5 kB / 4.338 GB, free: 35.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/10.89, allocations: 6.719 kB / 4.338 GB, free: 35.06 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00722/10.9, allocations: 3.422 MB / 4.342 GB, free: 34.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/10.9, allocations: 8.938 kB / 4.342 GB, free: 34.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/10.9, allocations: 155.5 kB / 4.342 GB, free: 34.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/10.9, allocations: 274.3 kB / 4.342 GB, free: 34.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/10.9, allocations: 1.298 MB / 4.344 GB, free: 33.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/10.91, allocations: 180.5 kB / 4.344 GB, free: 33.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004628/10.91, allocations: 79.67 kB / 4.344 GB, free: 33.56 MB / 0.698 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 () * Number of clocked 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.003603/10.91, allocations: 1.14 MB / 4.345 GB, free: 33.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/10.91, allocations: 338.3 kB / 4.345 GB, free: 33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006798/10.92, allocations: 2.421 MB / 4.348 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/10.92, allocations: 12.06 kB / 4.348 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/10.92, allocations: 0 / 4.348 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00446/10.92, allocations: 2.193 MB / 4.35 GB, free: 32.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/10.94, allocations: 5.579 MB / 4.355 GB, free: 31.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/10.94, allocations: 6.094 kB / 4.355 GB, free: 31.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/10.94, allocations: 244.5 kB / 4.355 GB, free: 31.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.664e-05/10.94, allocations: 10.75 kB / 4.355 GB, free: 31.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/10.94, allocations: 37.69 kB / 4.355 GB, free: 31.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/10.94, allocations: 8.625 kB / 4.355 GB, free: 31.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/10.94, allocations: 8 kB / 4.355 GB, free: 31.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008762/10.95, allocations: 4.234 MB / 4.36 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003301/10.95, allocations: 0.6869 MB / 4.36 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001576/10.96, allocations: 39.59 kB / 4.36 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004192/10.96, allocations: 172.7 kB / 4.36 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/10.96, allocations: 151.7 kB / 4.361 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002914/10.96, allocations: 55.83 kB / 4.361 GB, free: 30.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007903/10.97, allocations: 2.44 MB / 4.363 GB, free: 30.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.71e-07/10.97, allocations: 0 / 4.363 GB, free: 30.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009981/10.98, allocations: 1.526 MB / 4.365 GB, free: 30.01 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.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.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i) * Number of clocked states: 0 () * 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.01663/10.99, allocations: 8.258 MB / 4.373 GB, free: 26.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01161/11.01, allocations: 5.595 MB / 4.378 GB, free: 25.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/11.01, allocations: 5.312 kB / 4.378 GB, free: 25.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003254/11.01, allocations: 1.643 MB / 4.38 GB, free: 24.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01269/11.02, allocations: 1.669 MB / 4.381 GB, free: 24.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/11.05, allocations: 15.32 MB / 4.396 GB, free: 30.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00412/11.06, allocations: 2.166 MB / 4.398 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.006469/11.06, allocations: 0.6482 MB / 4.399 GB, free: 29.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00332/11.07, allocations: 1.402 MB / 4.4 GB, free: 29.76 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/11.07, allocations: 0 / 4.4 GB, free: 29.76 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9158/11.98, allocations: 128.2 MB / 4.526 GB, free: 81.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/11.98, allocations: 274.6 kB / 4.526 GB, free: 81.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/18.45, allocations: 0.8438 kB / 4.526 GB, free: 81.31 MB / 0.7292 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)