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 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.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.0013/0.0013, allocations: 180.9 kB / 8.006 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5159/0.5159, allocations: 90.91 MB / 99.35 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009139, allocations: 90.53 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.799e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.188, allocations: 353 MB / 0.8983 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.188, allocations: 86.69 kB / 0.8984 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.458/4.646, allocations: 0.9473 GB / 1.846 GB, free: 78.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/4.646, allocations: 0 / 1.846 GB, free: 78.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001534/4.646, allocations: 50.45 kB / 1.846 GB, free: 78.4 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.003559/4.65, allocations: 1.868 MB / 1.847 GB, free: 76.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/4.65, allocations: 7.656 kB / 1.847 GB, free: 76.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/4.653, allocations: 0.6067 MB / 1.848 GB, free: 76.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/4.656, allocations: 1.421 MB / 1.849 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/4.656, allocations: 37.67 kB / 1.85 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/4.656, allocations: 67.78 kB / 1.85 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00162/4.658, allocations: 0.8595 MB / 1.85 GB, free: 75.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/4.66, allocations: 1.059 MB / 1.851 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/4.66, allocations: 3.938 kB / 1.851 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/4.66, allocations: 3.812 kB / 1.851 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/4.66, allocations: 30.58 kB / 1.851 GB, free: 74.73 MB / 0.6042 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.007154/4.667, allocations: 6.207 MB / 1.858 GB, free: 69.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/4.668, allocations: 0.9116 MB / 1.858 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/4.669, allocations: 0.5036 MB / 1.859 GB, free: 68.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/4.67, allocations: 2.253 MB / 1.861 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007822/4.671, allocations: 0.6566 MB / 1.862 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=100): time 5.43e-06/4.671, allocations: 0 / 1.862 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100): time 0.003366/4.675, allocations: 1.467 MB / 1.863 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/4.675, allocations: 147.3 kB / 1.863 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/4.676, allocations: 0.8795 MB / 1.864 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/4.676, allocations: 29.17 kB / 1.864 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/4.676, allocations: 0.7 MB / 1.865 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/4.677, allocations: 313.5 kB / 1.865 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/4.677, allocations: 7.969 kB / 1.865 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/4.677, allocations: 340.9 kB / 1.866 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/4.677, allocations: 407.5 kB / 1.866 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/4.678, allocations: 0.6342 MB / 1.867 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/4.68, allocations: 0.6948 MB / 1.867 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/4.68, allocations: 0 / 1.867 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003178/4.683, allocations: 1.567 MB / 1.869 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003938/4.683, allocations: 1.713 MB / 1.87 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/4.683, allocations: 3.219 kB / 1.87 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/4.683, allocations: 10.75 kB / 1.87 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/4.685, allocations: 275.8 kB / 1.871 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/4.685, allocations: 15.59 kB / 1.871 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/4.686, allocations: 209.7 kB / 1.871 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/4.686, allocations: 61 kB / 1.871 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/4.686, allocations: 3.75 kB / 1.871 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002992/4.689, allocations: 1.442 MB / 1.872 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/4.689, allocations: 4 kB / 1.872 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/4.69, allocations: 8 kB / 1.872 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/4.691, allocations: 285.3 kB / 1.873 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/4.691, allocations: 12 kB / 1.873 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/4.692, allocations: 203 kB / 1.873 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/4.692, allocations: 63.97 kB / 1.873 GB, free: 57.45 MB / 0.6042 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 () * 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.0003232/4.693, allocations: 235.3 kB / 1.873 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/4.693, allocations: 154.1 kB / 1.873 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/4.697, allocations: 2.051 MB / 1.875 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/4.697, allocations: 19.98 kB / 1.875 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/4.697, allocations: 2.516 kB / 1.875 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/4.697, allocations: 11.92 kB / 1.875 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/4.703, allocations: 3.285 MB / 1.879 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/4.703, allocations: 4 kB / 1.879 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/4.704, allocations: 235.8 kB / 1.879 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/4.704, allocations: 8 kB / 1.879 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/4.704, allocations: 27.97 kB / 1.879 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/4.704, allocations: 8 kB / 1.879 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/4.704, allocations: 0 / 1.879 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004336/4.708, allocations: 2.748 MB / 1.882 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007863/4.709, allocations: 394.3 kB / 1.882 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/4.709, allocations: 19.95 kB / 1.882 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/4.71, allocations: 155.7 kB / 1.882 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/4.71, allocations: 77.2 kB / 1.882 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/4.711, allocations: 59.97 kB / 1.882 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008857/4.711, allocations: 0.6638 MB / 1.883 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/4.711, allocations: 0 / 1.883 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003095/4.715, allocations: 0.8866 MB / 1.884 GB, free: 46.29 MB / 0.6042 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) * 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.002409/4.717, allocations: 0.9829 MB / 1.885 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003052/4.72, allocations: 2.207 MB / 1.887 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/4.72, allocations: 0 / 1.887 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009771/4.721, allocations: 0.8878 MB / 1.888 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/4.724, allocations: 0.5116 MB / 1.888 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/4.728, allocations: 2.401 MB / 1.891 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/4.728, allocations: 1.304 MB / 1.892 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001851/4.73, allocations: 487.1 kB / 1.892 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/4.73, allocations: 111.4 kB / 1.892 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/4.73, allocations: 0 / 1.892 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.04757/4.778, allocations: 31.09 MB / 1.923 GB, free: 7.094 MB / 0.6042 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)