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: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.79/0.79, allocations: 127.4 MB / 134.9 MB, free: 3.434 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.00104/0.00104, allocations: 181.1 kB / 164.6 MB, free: 11.62 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.773/1.773, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.001028/0.001028, allocations: 83.86 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.613e-05, allocations: 3.156 kB / 0.5466 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 76.75 MB / 0.6215 GB, free: 43.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.945/6.106, allocations: 2.416 GB / 3.038 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/6.107, allocations: 103.9 kB / 3.038 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.825/10.93, allocations: 1.214 GB / 4.251 GB, free: 57.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/10.93, allocations: 0 / 4.251 GB, free: 57.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007612/10.93, allocations: 92.3 kB / 4.252 GB, free: 57.32 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.01126/10.94, allocations: 3.698 MB / 4.255 GB, free: 54.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/10.94, allocations: 11.59 kB / 4.255 GB, free: 54.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/10.95, allocations: 0.5428 MB / 4.256 GB, free: 54.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/10.97, allocations: 7.796 MB / 4.263 GB, free: 51.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/10.97, allocations: 71.19 kB / 4.263 GB, free: 51.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009347/10.97, allocations: 139.5 kB / 4.263 GB, free: 51.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004916/10.97, allocations: 1.884 MB / 4.265 GB, free: 50.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006352/10.98, allocations: 2.35 MB / 4.268 GB, free: 49.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.659e-05/10.98, allocations: 10.44 kB / 4.268 GB, free: 49.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004856/10.98, allocations: 5.688 kB / 4.268 GB, free: 49.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.796e-05/10.98, allocations: 82.97 kB / 4.268 GB, free: 49.62 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.01924/11, allocations: 10.86 MB / 4.278 GB, free: 41.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/11, allocations: 1.326 MB / 4.28 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/11, allocations: 0.8922 MB / 4.28 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/11, allocations: 0.7623 MB / 4.281 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/11, allocations: 51 kB / 4.281 GB, free: 39.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=115): time 4.058e-06/11, allocations: 0 / 4.281 GB, free: 39.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.01193/11.02, allocations: 4.484 MB / 4.286 GB, free: 36.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/11.02, allocations: 341.7 kB / 4.286 GB, free: 36.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00653/11.02, allocations: 2.65 MB / 4.289 GB, free: 33.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003855/11.02, allocations: 41.64 kB / 4.289 GB, free: 33.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/11.03, allocations: 1.601 MB / 4.29 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/11.03, allocations: 409.9 kB / 4.291 GB, free: 31.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/11.03, allocations: 4 kB / 4.291 GB, free: 31.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001372/11.03, allocations: 369.9 kB / 4.291 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/11.03, allocations: 1.011 MB / 4.292 GB, free: 30.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/11.03, allocations: 1.522 MB / 4.293 GB, free: 28.4 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.00665/11.04, allocations: 3.71 MB / 4.297 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/11.04, allocations: 4 kB / 4.297 GB, free: 24.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005126/11.04, allocations: 2.854 MB / 4.3 GB, free: 21.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001118/11.04, allocations: 4.446 MB / 4.304 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/11.04, allocations: 8 kB / 4.304 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/11.04, allocations: 145.6 kB / 4.304 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/11.04, allocations: 295.5 kB / 4.305 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008964/11.04, allocations: 1.309 MB / 4.306 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/11.05, allocations: 179.7 kB / 4.306 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/11.05, allocations: 91.92 kB / 4.306 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/11.05, allocations: 4 kB / 4.306 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003959/11.05, allocations: 2.731 MB / 4.309 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/11.05, allocations: 12 kB / 4.309 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/11.05, allocations: 149.6 kB / 4.309 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/11.05, allocations: 267.6 kB / 4.309 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007991/11.05, allocations: 1.311 MB / 4.31 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/11.06, allocations: 155.6 kB / 4.311 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/11.06, allocations: 88.92 kB / 4.311 GB, free: 10.01 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.0007521/11.06, allocations: 339 kB / 4.311 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/11.06, allocations: 304.2 kB / 4.311 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/11.06, allocations: 2.026 MB / 4.313 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/11.06, allocations: 15.95 kB / 4.313 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/11.06, allocations: 4 kB / 4.313 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002384/11.07, allocations: 1.867 MB / 4.315 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/11.08, allocations: 4.949 MB / 4.32 GB, free: 360 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/11.08, allocations: 4 kB / 4.32 GB, free: 356 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/11.08, allocations: 248.1 kB / 4.32 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.925e-05/11.08, allocations: 8 kB / 4.32 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/11.08, allocations: 19.98 kB / 4.32 GB, free: 80 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/11.08, allocations: 8 kB / 4.32 GB, free: 72 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/11.08, allocations: 7.938 kB / 4.32 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006001/11.08, allocations: 3.729 MB / 4.324 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/11.09, allocations: 0.6534 MB / 4.325 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/11.09, allocations: 19.98 kB / 4.325 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/11.09, allocations: 151.7 kB / 4.325 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/11.09, allocations: 153.4 kB / 4.325 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/11.09, allocations: 51.97 kB / 4.325 GB, free: 11.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005425/11.1, allocations: 2.001 MB / 4.327 GB, free: 9.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/11.1, allocations: 0 / 4.327 GB, free: 9.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008601/11.1, allocations: 1.395 MB / 4.328 GB, free: 7.766 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.006502/11.11, allocations: 2.958 MB / 4.331 GB, free: 4.949 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.554/11.67, allocations: 5.443 MB / 4.336 GB, free: 70.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/11.67, allocations: 0.9062 kB / 4.336 GB, free: 70.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00355/11.67, allocations: 1.57 MB / 4.338 GB, free: 70.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01193/11.68, allocations: 1.399 MB / 4.339 GB, free: 70.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/11.69, allocations: 5.103 MB / 4.344 GB, free: 69.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/11.7, allocations: 2.179 MB / 4.346 GB, free: 68.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005185/11.7, allocations: 0.985 MB / 4.347 GB, free: 68.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/11.7, allocations: 149.7 kB / 4.348 GB, free: 68.32 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/11.7, allocations: 1.75 kB / 4.348 GB, free: 68.32 MB / 0.698 GB Notification: Performance of Templates: time 0.1225/11.82, allocations: 73.72 MB / 4.42 GB, free: 63.65 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)