Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",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.7605/0.7605, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001164/0.001164, allocations: 177.8 kB / 173.7 MB, free: 6.121 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.763/1.763, allocations: 205.4 MB / 409 MB, free: 10.49 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.001016/0.001016, allocations: 90.78 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 14.38 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1808, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.019/6.2, allocations: 2.417 GB / 3.052 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/6.201, allocations: 107.4 kB / 3.052 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.42/10.62, allocations: 1.221 GB / 4.273 GB, free: 54.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/10.62, allocations: 0 / 4.273 GB, free: 54.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003281/10.62, allocations: 81.89 kB / 4.273 GB, free: 54.93 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: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.00941/10.63, allocations: 4.231 MB / 4.277 GB, free: 52.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/10.63, allocations: 12.72 kB / 4.277 GB, free: 52.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006423/10.63, allocations: 295 kB / 4.278 GB, free: 52.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/10.63, allocations: 0.5208 MB / 4.278 GB, free: 52.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/10.65, allocations: 7.776 MB / 4.286 GB, free: 51.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/10.65, allocations: 162.9 kB / 4.286 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/10.65, allocations: 218.6 kB / 4.286 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/10.65, allocations: 2.676 MB / 4.289 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/10.65, allocations: 8.5 kB / 4.289 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/10.66, allocations: 88.09 kB / 4.289 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/10.66, allocations: 86.98 kB / 4.289 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/10.66, allocations: 2.071 MB / 4.291 GB, free: 51.52 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.01356/10.67, allocations: 11.02 MB / 4.302 GB, free: 47.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/10.67, allocations: 1.362 MB / 4.303 GB, free: 47.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/10.67, allocations: 0.5917 MB / 4.303 GB, free: 46.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/10.67, allocations: 48.03 kB / 4.304 GB, free: 46.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 3.446e-06/10.67, allocations: 0 / 4.304 GB, free: 46.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=102): time 0.009527/10.68, allocations: 6.098 MB / 4.309 GB, free: 44.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/10.68, allocations: 299.6 kB / 4.31 GB, free: 44.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004398/10.69, allocations: 3.095 MB / 4.313 GB, free: 43.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/10.69, allocations: 51.45 kB / 4.313 GB, free: 43.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/10.69, allocations: 1.547 MB / 4.314 GB, free: 43.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/10.69, allocations: 353.2 kB / 4.315 GB, free: 43.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/10.69, allocations: 30.78 kB / 4.315 GB, free: 43.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/10.69, allocations: 367.7 kB / 4.315 GB, free: 43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/10.69, allocations: 1.043 MB / 4.316 GB, free: 42.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/10.69, allocations: 1.574 MB / 4.318 GB, free: 42.42 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.005595/10.7, allocations: 4.027 MB / 4.322 GB, free: 41.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/10.7, allocations: 6.609 kB / 4.322 GB, free: 41.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004443/10.7, allocations: 3.247 MB / 4.325 GB, free: 40.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/10.7, allocations: 4.979 MB / 4.33 GB, free: 35.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/10.7, allocations: 18.12 kB / 4.33 GB, free: 35.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/10.7, allocations: 19.38 kB / 4.33 GB, free: 35.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/10.71, allocations: 326.3 kB / 4.33 GB, free: 35.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006688/10.71, allocations: 0.6529 MB / 4.331 GB, free: 35.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/10.71, allocations: 197.2 kB / 4.331 GB, free: 35.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/10.71, allocations: 80.7 kB / 4.331 GB, free: 35.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/10.71, allocations: 6.375 kB / 4.331 GB, free: 35.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003908/10.71, allocations: 3.251 MB / 4.334 GB, free: 34.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/10.71, allocations: 11.47 kB / 4.334 GB, free: 34.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/10.71, allocations: 19.81 kB / 4.334 GB, free: 34.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009509/10.72, allocations: 272.1 kB / 4.334 GB, free: 34.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/10.72, allocations: 23.38 kB / 4.334 GB, free: 34.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/10.72, allocations: 177.6 kB / 4.335 GB, free: 34.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/10.72, allocations: 75.28 kB / 4.335 GB, free: 34.72 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: 47 * Number of states: 0 () * Number of discrete variables: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002643/10.72, allocations: 1.116 MB / 4.336 GB, free: 34.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009303/10.72, allocations: 321 kB / 4.336 GB, free: 34.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/10.73, allocations: 2.219 MB / 4.338 GB, free: 33.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/10.73, allocations: 7.469 kB / 4.338 GB, free: 33.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/10.73, allocations: 1 kB / 4.338 GB, free: 33.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002496/10.73, allocations: 2.029 MB / 4.34 GB, free: 33.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/10.74, allocations: 5.211 MB / 4.345 GB, free: 32.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/10.74, allocations: 7.453 kB / 4.345 GB, free: 32.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/10.74, allocations: 254.2 kB / 4.345 GB, free: 32.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/10.74, allocations: 8.984 kB / 4.345 GB, free: 32.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/10.74, allocations: 28.97 kB / 4.346 GB, free: 32.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/10.74, allocations: 1.545 MB / 4.347 GB, free: 31.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/10.74, allocations: 15.61 kB / 4.347 GB, free: 31.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/10.75, allocations: 3.954 MB / 4.351 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/10.75, allocations: 0.6564 MB / 4.352 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/10.75, allocations: 35.69 kB / 4.352 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/10.75, allocations: 155.9 kB / 4.352 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/10.75, allocations: 139.1 kB / 4.352 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/10.75, allocations: 52.47 kB / 4.352 GB, free: 30.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005832/10.76, allocations: 2.397 MB / 4.354 GB, free: 29.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/10.76, allocations: 0 / 4.354 GB, free: 29.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008013/10.77, allocations: 1.487 MB / 4.356 GB, free: 29.85 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],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 (97): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01149/10.78, allocations: 8.019 MB / 4.364 GB, free: 26.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007966/10.79, allocations: 5.412 MB / 4.369 GB, free: 25.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/10.79, allocations: 0 / 4.369 GB, free: 25.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002538/10.79, allocations: 1.617 MB / 4.37 GB, free: 24.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008784/10.8, allocations: 1.655 MB / 4.372 GB, free: 24.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/10.82, allocations: 15.51 MB / 4.387 GB, free: 29.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003215/10.82, allocations: 2.102 MB / 4.389 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004334/10.83, allocations: 0.6374 MB / 4.39 GB, free: 29.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/10.83, allocations: 1.306 MB / 4.391 GB, free: 29.04 MB / 0.7136 GB Notification: Performance of SimCode: time 9.267e-06/10.83, allocations: 0 / 4.391 GB, free: 29.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6045/11.44, allocations: 124.1 MB / 4.512 GB, free: 84.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/11.44, allocations: 264.4 kB / 4.513 GB, free: 83.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.506/17.94, allocations: 1.344 kB / 4.513 GB, free: 83.95 MB / 0.7292 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)