Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.8223/0.8223, allocations: 117.9 MB / 133.9 MB, free: 9.227 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.001463/0.001463, allocations: 188.2 kB / 161.7 MB, free: 13.99 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.527/1.527, allocations: 205.4 MB / 394.8 MB, free: 10.11 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.0007924/0.0007925, allocations: 89.47 kB / 470.1 MB, free: 29.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 12 kB / 0.5423 GB, free: 9.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 74.54 MB / 0.6151 GB, free: 15.17 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.604/5.777, allocations: 2.414 GB / 3.029 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/5.777, allocations: 103.9 kB / 3.029 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.2/8.978, allocations: 0.8586 GB / 3.888 GB, free: 54.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.799e-06/8.978, allocations: 0.5625 kB / 3.888 GB, free: 54.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002696/8.978, allocations: 60.44 kB / 3.888 GB, free: 54.53 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.007964/8.986, allocations: 2.803 MB / 3.89 GB, free: 53.42 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/8.986, allocations: 10.17 kB / 3.89 GB, free: 53.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/8.988, allocations: 380.6 kB / 3.891 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008778/8.997, allocations: 3.972 MB / 3.895 GB, free: 52.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.552e-05/8.997, allocations: 107.7 kB / 3.895 GB, free: 52.85 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/8.997, allocations: 149.4 kB / 3.895 GB, free: 52.85 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/9.001, allocations: 1.773 MB / 3.897 GB, free: 52.65 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/9.001, allocations: 5.438 kB / 3.897 GB, free: 52.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/9.001, allocations: 59.33 kB / 3.897 GB, free: 52.65 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/9.001, allocations: 56.73 kB / 3.897 GB, free: 52.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/9.004, allocations: 1.368 MB / 3.898 GB, free: 52.63 MB / 0.6511 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.009407/9.013, allocations: 6.949 MB / 3.905 GB, free: 50.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/9.014, allocations: 0.9219 MB / 3.906 GB, free: 49.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/9.015, allocations: 0.5841 MB / 3.906 GB, free: 49.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/9.016, allocations: 442.1 kB / 3.907 GB, free: 49.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/9.016, allocations: 49.12 kB / 3.907 GB, free: 49.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 4.308e-06/9.016, allocations: 0 / 3.907 GB, free: 49.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=78): time 0.006426/9.022, allocations: 3.585 MB / 3.91 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/9.022, allocations: 201.3 kB / 3.911 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/9.025, allocations: 2.06 MB / 3.913 GB, free: 48.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/9.025, allocations: 46.33 kB / 3.913 GB, free: 48.03 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006986/9.026, allocations: 0.9675 MB / 3.914 GB, free: 47.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/9.026, allocations: 264.5 kB / 3.914 GB, free: 47.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/9.026, allocations: 21.62 kB / 3.914 GB, free: 47.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001052/9.026, allocations: 344.4 kB / 3.914 GB, free: 47.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009316/9.027, allocations: 0.6222 MB / 3.915 GB, free: 47.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/9.028, allocations: 0.944 MB / 3.916 GB, free: 46.93 MB / 0.6511 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00486/9.033, allocations: 3.277 MB / 3.919 GB, free: 46.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/9.033, allocations: 0 / 3.919 GB, free: 46.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002802/9.036, allocations: 1.93 MB / 3.921 GB, free: 45.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002024/9.036, allocations: 460.6 kB / 3.921 GB, free: 45.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/9.036, allocations: 6.312 kB / 3.921 GB, free: 45.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/9.036, allocations: 13.25 kB / 3.921 GB, free: 45.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/9.037, allocations: 199.4 kB / 3.921 GB, free: 45.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/9.037, allocations: 10.62 kB / 3.921 GB, free: 45.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/9.039, allocations: 146 kB / 3.922 GB, free: 45.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/9.039, allocations: 51.03 kB / 3.922 GB, free: 45.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/9.039, allocations: 3.156 kB / 3.922 GB, free: 45.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002265/9.042, allocations: 1.863 MB / 3.923 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/9.042, allocations: 6.938 kB / 3.923 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/9.042, allocations: 11.22 kB / 3.923 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/9.042, allocations: 188.4 kB / 3.924 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/9.042, allocations: 13.78 kB / 3.924 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/9.044, allocations: 118.2 kB / 3.924 GB, free: 44.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/9.044, allocations: 47.16 kB / 3.924 GB, free: 44.98 MB / 0.6511 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: 25 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.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 (115): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.001413/9.045, allocations: 0.7208 MB / 3.925 GB, free: 44.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/9.046, allocations: 203.3 kB / 3.925 GB, free: 44.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/9.048, allocations: 1.407 MB / 3.926 GB, free: 44.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/9.048, allocations: 8.312 kB / 3.926 GB, free: 44.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/9.048, allocations: 3.938 kB / 3.926 GB, free: 44.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001606/9.05, allocations: 1.485 MB / 3.928 GB, free: 43.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/9.056, allocations: 3.381 MB / 3.931 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/9.057, allocations: 3.156 kB / 3.931 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/9.057, allocations: 151.9 kB / 3.931 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/9.057, allocations: 9.844 kB / 3.931 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/9.057, allocations: 27.14 kB / 3.931 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/9.057, allocations: 10.12 kB / 3.931 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/9.057, allocations: 2.906 kB / 3.931 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/9.06, allocations: 2.301 MB / 3.933 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/9.062, allocations: 441.1 kB / 3.934 GB, free: 42.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006102/9.062, allocations: 27.88 kB / 3.934 GB, free: 42.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/9.064, allocations: 108.5 kB / 3.934 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/9.064, allocations: 93.3 kB / 3.934 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/9.064, allocations: 33.73 kB / 3.934 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002964/9.067, allocations: 1.43 MB / 3.935 GB, free: 42.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/9.067, allocations: 0 / 3.935 GB, free: 42.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004476/9.072, allocations: 1.003 MB / 3.936 GB, free: 42.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * 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.003973/9.076, allocations: 2.281 MB / 3.939 GB, free: 41.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004196/9.08, allocations: 3.057 MB / 3.942 GB, free: 41.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/9.08, allocations: 4.062 kB / 3.942 GB, free: 41.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/9.081, allocations: 0.9031 MB / 3.942 GB, free: 40.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007154/9.088, allocations: 1.066 MB / 3.943 GB, free: 40.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008572/9.097, allocations: 4.5 MB / 3.948 GB, free: 39.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/9.099, allocations: 1.532 MB / 3.949 GB, free: 38.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002914/9.102, allocations: 440.5 kB / 3.95 GB, free: 38.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006125/9.102, allocations: 135.4 kB / 3.95 GB, free: 38.27 MB / 0.6511 GB Notification: Performance of SimCode: time 7.01e-07/9.102, allocations: 0 / 3.95 GB, free: 38.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.1029/9.205, allocations: 61.88 MB / 4.01 GB, free: 35.04 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)