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.8281/0.8281, allocations: 127.4 MB / 134.9 MB, free: 3.754 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.00142/0.00142, allocations: 187.4 kB / 164.7 MB, free: 6.535 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.724/1.724, allocations: 205.2 MB / 399.5 MB, free: 5.918 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.0008618/0.0008618, allocations: 83.56 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.85e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1507, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.178/6.329, allocations: 2.416 GB / 3.038 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/6.329, allocations: 95.94 kB / 3.038 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.995/11.32, allocations: 1.209 GB / 4.247 GB, free: 52.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.957e-06/11.32, allocations: 3.469 kB / 4.247 GB, free: 52.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005503/11.33, allocations: 83.41 kB / 4.247 GB, free: 52.61 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: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.009692/11.34, allocations: 3.57 MB / 4.25 GB, free: 50.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/11.34, allocations: 6.594 kB / 4.25 GB, free: 50.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/11.34, allocations: 0.5266 MB / 4.251 GB, free: 50.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0177/11.36, allocations: 7.674 MB / 4.259 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/11.36, allocations: 77.64 kB / 4.259 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005345/11.36, allocations: 133.4 kB / 4.259 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00357/11.36, allocations: 1.8 MB / 4.26 GB, free: 49.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003762/11.36, allocations: 2.263 MB / 4.263 GB, free: 49.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/11.37, allocations: 6.312 kB / 4.263 GB, free: 49.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/11.37, allocations: 6.875 kB / 4.263 GB, free: 49.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.012e-05/11.37, allocations: 81.64 kB / 4.263 GB, free: 49.52 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.01454/11.38, allocations: 10.56 MB / 4.273 GB, free: 45.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/11.38, allocations: 1.226 MB / 4.274 GB, free: 45.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/11.38, allocations: 0.8269 MB / 4.275 GB, free: 45.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004788/11.38, allocations: 0.5943 MB / 4.276 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/11.38, allocations: 47.91 kB / 4.276 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 3.556e-06/11.38, allocations: 0 / 4.276 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102): time 0.007981/11.39, allocations: 4.065 MB / 4.28 GB, free: 43.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/11.39, allocations: 290.9 kB / 4.28 GB, free: 43.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/11.4, allocations: 2.59 MB / 4.282 GB, free: 43.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002972/11.4, allocations: 35.92 kB / 4.283 GB, free: 43.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/11.4, allocations: 1.537 MB / 4.284 GB, free: 42.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/11.4, allocations: 345.3 kB / 4.284 GB, free: 42.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/11.4, allocations: 7.344 kB / 4.284 GB, free: 42.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/11.4, allocations: 363.4 kB / 4.285 GB, free: 42.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/11.4, allocations: 0.9805 MB / 4.286 GB, free: 42.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/11.4, allocations: 1.487 MB / 4.287 GB, free: 41.59 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.005635/11.41, allocations: 3.552 MB / 4.291 GB, free: 41.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/11.41, allocations: 0 / 4.291 GB, free: 41.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004344/11.41, allocations: 2.659 MB / 4.293 GB, free: 40.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001026/11.41, allocations: 4.89 MB / 4.298 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/11.41, allocations: 10 kB / 4.298 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-05/11.41, allocations: 24.62 kB / 4.298 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/11.41, allocations: 330.5 kB / 4.298 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005617/11.41, allocations: 0.6524 MB / 4.299 GB, free: 35.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/11.42, allocations: 161.9 kB / 4.299 GB, free: 35.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/11.42, allocations: 78.11 kB / 4.299 GB, free: 35.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/11.42, allocations: 8.031 kB / 4.299 GB, free: 35.08 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003491/11.42, allocations: 2.556 MB / 4.302 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/11.42, allocations: 11.84 kB / 4.302 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/11.42, allocations: 16.94 kB / 4.302 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/11.42, allocations: 272.1 kB / 4.302 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/11.42, allocations: 26.34 kB / 4.302 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/11.42, allocations: 139.6 kB / 4.302 GB, free: 35.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/11.42, allocations: 76 kB / 4.302 GB, free: 35.04 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: 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 () * 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.0004711/11.42, allocations: 349.8 kB / 4.303 GB, free: 34.74 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002535/11.43, allocations: 1.808 MB / 4.304 GB, free: 34.53 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/11.43, allocations: 280.5 kB / 4.305 GB, free: 34.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/11.43, allocations: 1.862 MB / 4.306 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/11.43, allocations: 16.22 kB / 4.306 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/11.43, allocations: 1.5 kB / 4.306 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002008/11.43, allocations: 1.722 MB / 4.308 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007983/11.44, allocations: 4.732 MB / 4.313 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/11.44, allocations: 2.625 kB / 4.313 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/11.44, allocations: 253.6 kB / 4.313 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/11.44, allocations: 10.16 kB / 4.313 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/11.44, allocations: 24.02 kB / 4.313 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/11.44, allocations: 1.448 MB / 4.314 GB, free: 32.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/11.44, allocations: 10.06 kB / 4.314 GB, free: 32.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004879/11.45, allocations: 3.531 MB / 4.318 GB, free: 31.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/11.45, allocations: 0.6206 MB / 4.318 GB, free: 31.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/11.45, allocations: 19.47 kB / 4.318 GB, free: 31.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/11.45, allocations: 139.5 kB / 4.319 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/11.45, allocations: 137 kB / 4.319 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/11.45, allocations: 56.66 kB / 4.319 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003201/11.46, allocations: 1.946 MB / 4.321 GB, free: 30.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/11.46, allocations: 0 / 4.321 GB, free: 30.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006378/11.46, allocations: 1.365 MB / 4.322 GB, free: 30.85 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * 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.00888/11.47, allocations: 7.808 MB / 4.33 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006248/11.48, allocations: 5.28 MB / 4.335 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/11.48, allocations: 6.219 kB / 4.335 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/11.48, allocations: 1.581 MB / 4.336 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007339/11.49, allocations: 1.36 MB / 4.338 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/11.5, allocations: 5.439 MB / 4.343 GB, free: 24.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/11.5, allocations: 2.095 MB / 4.345 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004249/11.5, allocations: 0.9633 MB / 4.346 GB, free: 23.49 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/11.51, allocations: 1.252 MB / 4.347 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of SimCode: time 1.513e-06/11.51, allocations: 0 / 4.347 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/11.67, allocations: 99.82 MB / 4.445 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/11.68, allocations: 192.9 kB / 4.445 GB, free: 496 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.543/17.22, allocations: 0 / 4.445 GB, free: 496 kB / 0.7136 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)