Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 172.7 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5278/0.5278, allocations: 86.28 MB / 103.8 MB, free: 14.57 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 348.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000814/0.0008141, allocations: 97.53 kB / 420.2 MB, free: 9.684 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004236, allocations: 12 kB / 0.4901 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3553, allocations: 71.01 MB / 0.5594 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6495/1.005, allocations: 352.4 MB / 0.9035 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.005, allocations: 94.2 kB / 0.9036 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.941/3.946, allocations: 0.9495 GB / 1.853 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/3.946, allocations: 0 / 1.853 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002543/3.946, allocations: 43.98 kB / 1.853 GB, free: 7.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005558/3.952, allocations: 2.191 MB / 1.855 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/3.952, allocations: 8.031 kB / 1.855 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/3.955, allocations: 0.6134 MB / 1.856 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/3.959, allocations: 1.538 MB / 1.857 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.856e-05/3.959, allocations: 78 kB / 1.857 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003983/3.96, allocations: 119.9 kB / 1.858 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/3.963, allocations: 1.379 MB / 1.859 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/3.963, allocations: 0 / 1.859 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/3.963, allocations: 48 kB / 1.859 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/3.963, allocations: 24 kB / 1.859 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/3.966, allocations: 1.28 MB / 1.86 GB, free: 24 kB / 0.6042 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.009162/3.975, allocations: 6.414 MB / 1.867 GB, free: 9.102 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/3.978, allocations: 1.258 MB / 1.868 GB, free: 7.832 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/3.98, allocations: 0.703 MB / 1.868 GB, free: 7.125 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/3.981, allocations: 2.264 MB / 1.871 GB, free: 4.363 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/3.983, allocations: 0.8484 MB / 1.871 GB, free: 3.484 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=100): time 4.007e-06/3.983, allocations: 0 / 1.871 GB, free: 3.484 MB / 0.6199 GB Notification: Performance of matching and sorting (n=100): time 0.005419/3.989, allocations: 2.267 MB / 1.874 GB, free: 1.191 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/3.989, allocations: 149.5 kB / 1.874 GB, free: 1.016 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3641/4.353, allocations: 1.211 MB / 1.875 GB, free: 63.07 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0003042/4.353, allocations: 48.58 kB / 1.875 GB, free: 63.04 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.000538/4.354, allocations: 0.6948 MB / 1.876 GB, free: 62.95 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/4.354, allocations: 329.7 kB / 1.876 GB, free: 62.89 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/4.354, allocations: 18.88 kB / 1.876 GB, free: 62.89 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/4.354, allocations: 343.7 kB / 1.876 GB, free: 62.59 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/4.356, allocations: 0.5808 MB / 1.877 GB, free: 62.59 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/4.357, allocations: 0.8602 MB / 1.878 GB, free: 62.32 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/4.36, allocations: 1.499 MB / 1.879 GB, free: 61.98 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/4.36, allocations: 1.156 kB / 1.879 GB, free: 61.98 MB / 0.6199 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004473/4.365, allocations: 1.816 MB / 1.881 GB, free: 61.75 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/4.365, allocations: 309.7 kB / 1.881 GB, free: 61.42 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/4.365, allocations: 4.5 kB / 1.881 GB, free: 61.42 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/4.365, allocations: 12.97 kB / 1.881 GB, free: 61.42 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/4.366, allocations: 281.8 kB / 1.882 GB, free: 61.42 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/4.366, allocations: 11.8 kB / 1.882 GB, free: 61.42 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/4.368, allocations: 235.6 kB / 1.882 GB, free: 61.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/4.368, allocations: 62.14 kB / 1.882 GB, free: 61.4 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/4.368, allocations: 7.219 kB / 1.882 GB, free: 61.4 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003494/4.371, allocations: 1.719 MB / 1.884 GB, free: 61.28 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/4.371, allocations: 6.25 kB / 1.884 GB, free: 61.28 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/4.371, allocations: 13.72 kB / 1.884 GB, free: 61.28 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/4.372, allocations: 282.9 kB / 1.884 GB, free: 61.28 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/4.372, allocations: 12.78 kB / 1.884 GB, free: 61.28 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/4.374, allocations: 232.6 kB / 1.884 GB, free: 61.25 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/4.374, allocations: 64.81 kB / 1.884 GB, free: 61.25 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.001027/4.375, allocations: 0.4923 MB / 1.885 GB, free: 60.97 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/4.376, allocations: 168.2 kB / 1.885 GB, free: 60.89 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/4.38, allocations: 2.372 MB / 1.887 GB, free: 60.7 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/4.38, allocations: 19.95 kB / 1.887 GB, free: 60.7 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/4.38, allocations: 0 / 1.887 GB, free: 60.7 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/4.38, allocations: 14.28 kB / 1.887 GB, free: 60.7 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/4.386, allocations: 3.736 MB / 1.891 GB, free: 60.21 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/4.386, allocations: 0 / 1.891 GB, free: 60.21 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009666/4.387, allocations: 237.5 kB / 1.891 GB, free: 60.21 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/4.387, allocations: 7.406 kB / 1.891 GB, free: 60.21 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/4.387, allocations: 42.88 kB / 1.891 GB, free: 60.21 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/4.387, allocations: 7.078 kB / 1.891 GB, free: 60.21 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/4.387, allocations: 6.438 kB / 1.891 GB, free: 60.21 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/4.392, allocations: 3.176 MB / 1.894 GB, free: 59.8 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/4.393, allocations: 413.9 kB / 1.895 GB, free: 59.61 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/4.393, allocations: 25.09 kB / 1.895 GB, free: 59.61 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/4.394, allocations: 170 kB / 1.895 GB, free: 59.61 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/4.394, allocations: 75.09 kB / 1.895 GB, free: 59.61 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.956e-05/4.394, allocations: 53.33 kB / 1.895 GB, free: 59.61 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.001162/4.396, allocations: 0.8249 MB / 1.896 GB, free: 59.5 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5.61e-07/4.396, allocations: 0.5625 kB / 1.896 GB, free: 59.5 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.002363/4.398, allocations: 0.9208 MB / 1.897 GB, free: 59.48 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.001547/4.399, allocations: 0.9801 MB / 1.898 GB, free: 59.31 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.005305/4.405, allocations: 2.748 MB / 1.9 GB, free: 58.91 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/4.405, allocations: 1.25 kB / 1.9 GB, free: 58.91 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/4.406, allocations: 1.09 MB / 1.901 GB, free: 58.71 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/4.41, allocations: 0.6302 MB / 1.902 GB, free: 58.71 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/4.415, allocations: 3.753 MB / 1.906 GB, free: 57.2 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/4.416, allocations: 1.274 MB / 1.907 GB, free: 56.48 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.001877/4.418, allocations: 422.7 kB / 1.907 GB, free: 56.47 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/4.418, allocations: 140 kB / 1.907 GB, free: 56.46 MB / 0.6199 GB Notification: Performance of SimCode: time 6.81e-07/4.418, allocations: 0 / 1.907 GB, free: 56.46 MB / 0.6199 GB Notification: Performance of Templates: time 0.05087/4.469, allocations: 34.77 MB / 1.941 GB, free: 54.61 MB / 0.6199 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)