Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002519/0.002519, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4772/0.4772, allocations: 90.82 MB / 104.5 MB, free: 9.777 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009744, allocations: 104.6 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.368e-05, allocations: 4 kB / 0.4896 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4585, allocations: 72.3 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.54/5.998, allocations: 2.136 GB / 2.696 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/5.999, allocations: 95.08 kB / 2.696 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.418/9.416, allocations: 0.8846 GB / 3.581 GB, free: 70.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.524e-06/9.416, allocations: 0 / 3.581 GB, free: 70.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003169/9.417, allocations: 54.5 kB / 3.581 GB, free: 70.67 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.006153/9.423, allocations: 2.355 MB / 3.583 GB, free: 69.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/9.423, allocations: 11.8 kB / 3.583 GB, free: 69.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/9.425, allocations: 391 kB / 3.583 GB, free: 69.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/9.429, allocations: 2.036 MB / 3.585 GB, free: 68.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/9.429, allocations: 104.1 kB / 3.586 GB, free: 68.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/9.43, allocations: 139.2 kB / 3.586 GB, free: 68.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/9.432, allocations: 1.564 MB / 3.587 GB, free: 68.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/9.432, allocations: 6.656 kB / 3.587 GB, free: 68.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/9.432, allocations: 55.12 kB / 3.587 GB, free: 68.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/9.432, allocations: 48.34 kB / 3.587 GB, free: 68.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/9.434, allocations: 1.192 MB / 3.588 GB, free: 68.67 MB / 0.6198 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.007987/9.442, allocations: 6.469 MB / 3.595 GB, free: 66.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/9.443, allocations: 0.8747 MB / 3.596 GB, free: 66.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/9.444, allocations: 0.596 MB / 3.596 GB, free: 66.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005489/9.444, allocations: 0.6862 MB / 3.597 GB, free: 65.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/9.444, allocations: 42.12 kB / 3.597 GB, free: 65.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 3.467e-06/9.445, allocations: 1.969 kB / 3.597 GB, free: 65.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.004619/9.449, allocations: 3.091 MB / 3.6 GB, free: 64.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/9.449, allocations: 201.5 kB / 3.6 GB, free: 64.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/9.452, allocations: 1.775 MB / 3.602 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/9.452, allocations: 43.39 kB / 3.602 GB, free: 64.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/9.452, allocations: 0.889 MB / 3.603 GB, free: 63.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/9.453, allocations: 292.4 kB / 3.603 GB, free: 63.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/9.453, allocations: 22.69 kB / 3.603 GB, free: 63.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/9.453, allocations: 343.1 kB / 3.603 GB, free: 63.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/9.453, allocations: 0.5823 MB / 3.604 GB, free: 63.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008306/9.454, allocations: 0.8373 MB / 3.605 GB, free: 62.52 MB / 0.6198 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.003922/9.458, allocations: 2.377 MB / 3.607 GB, free: 61.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/9.458, allocations: 3.031 kB / 3.607 GB, free: 61.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002288/9.46, allocations: 1.789 MB / 3.609 GB, free: 60.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000367/9.461, allocations: 1.662 MB / 3.611 GB, free: 58.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/9.461, allocations: 7.422 kB / 3.611 GB, free: 58.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/9.461, allocations: 9.562 kB / 3.611 GB, free: 58.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/9.462, allocations: 179.5 kB / 3.611 GB, free: 58.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/9.462, allocations: 14.02 kB / 3.611 GB, free: 58.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/9.463, allocations: 130.2 kB / 3.611 GB, free: 58.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/9.463, allocations: 49.39 kB / 3.611 GB, free: 58.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/9.463, allocations: 4.406 kB / 3.611 GB, free: 58.71 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001971/9.465, allocations: 1.789 MB / 3.613 GB, free: 57.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/9.465, allocations: 11.81 kB / 3.613 GB, free: 57.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/9.465, allocations: 6.094 kB / 3.613 GB, free: 57.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/9.466, allocations: 173.4 kB / 3.613 GB, free: 57.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/9.466, allocations: 11.14 kB / 3.613 GB, free: 57.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/9.467, allocations: 126.1 kB / 3.613 GB, free: 57.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/9.467, allocations: 49.77 kB / 3.613 GB, free: 57.85 MB / 0.6198 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: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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.0002843/9.468, allocations: 252 kB / 3.613 GB, free: 57.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/9.468, allocations: 197.7 kB / 3.613 GB, free: 57.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/9.47, allocations: 1.428 MB / 3.615 GB, free: 56.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/9.47, allocations: 10.91 kB / 3.615 GB, free: 56.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/9.47, allocations: 3.953 kB / 3.615 GB, free: 56.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/9.471, allocations: 1.498 MB / 3.616 GB, free: 55.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004933/9.476, allocations: 3.576 MB / 3.62 GB, free: 54.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/9.476, allocations: 10.44 kB / 3.62 GB, free: 54.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/9.477, allocations: 163.3 kB / 3.62 GB, free: 54.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/9.477, allocations: 7.781 kB / 3.62 GB, free: 54.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/9.477, allocations: 29.88 kB / 3.62 GB, free: 54.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/9.477, allocations: 9.562 kB / 3.62 GB, free: 54.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/9.477, allocations: 12.42 kB / 3.62 GB, free: 54.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/9.48, allocations: 2.701 MB / 3.623 GB, free: 52.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/9.481, allocations: 458.7 kB / 3.623 GB, free: 52.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/9.481, allocations: 37.33 kB / 3.623 GB, free: 52.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/9.482, allocations: 100.1 kB / 3.623 GB, free: 52.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/9.483, allocations: 100.9 kB / 3.623 GB, free: 52.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-05/9.483, allocations: 40.73 kB / 3.623 GB, free: 52.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002165/9.485, allocations: 1.381 MB / 3.625 GB, free: 51.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/9.485, allocations: 2.75 kB / 3.625 GB, free: 51.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003266/9.488, allocations: 1.003 MB / 3.626 GB, free: 51.24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,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.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * 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.003227/9.492, allocations: 2.264 MB / 3.628 GB, free: 50.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003358/9.495, allocations: 3.042 MB / 3.631 GB, free: 48.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/9.495, allocations: 3.688 kB / 3.631 GB, free: 48.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/9.496, allocations: 0.9841 MB / 3.632 GB, free: 48.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004793/9.501, allocations: 1 MB / 3.633 GB, free: 48.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/9.506, allocations: 3.134 MB / 3.636 GB, free: 46.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009552/9.507, allocations: 1.565 MB / 3.637 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002708/9.51, allocations: 0.6609 MB / 3.638 GB, free: 45.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/9.51, allocations: 99.89 kB / 3.638 GB, free: 45.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/9.51, allocations: 6.391 kB / 3.638 GB, free: 45.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.09557/9.605, allocations: 67.52 MB / 3.704 GB, free: 1.984 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)