Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 293 MB / 309 MB, free: 4.836 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 183.8 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 0.6383 GB, free: 9.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009186/0.0009185, allocations: 96.47 kB / 0.7527 GB, free: 62.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 16 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 116.4 MB / 0.9904 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.566/1.854, allocations: 391.3 MB / 1.373 GB, free: 278.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003767/1.854, allocations: 94 kB / 1.373 GB, free: 278.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.205/7.059, allocations: 1.501 GB / 2.874 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.234e-06/7.059, allocations: 0 / 2.874 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001618/7.059, allocations: 50.64 kB / 2.874 GB, free: 118.2 MB / 0.9636 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.004732/7.064, allocations: 2.193 MB / 2.876 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/7.064, allocations: 9.094 kB / 2.876 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/7.067, allocations: 0.6112 MB / 2.877 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/7.071, allocations: 1.552 MB / 2.878 GB, free: 117 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/7.071, allocations: 81.56 kB / 2.879 GB, free: 117 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/7.071, allocations: 118.8 kB / 2.879 GB, free: 117 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/7.074, allocations: 1.384 MB / 2.88 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/7.074, allocations: 6.531 kB / 2.88 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/7.074, allocations: 48.27 kB / 2.88 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/7.074, allocations: 26.38 kB / 2.88 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/7.077, allocations: 1.244 MB / 2.881 GB, free: 116.8 MB / 0.9636 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.008174/7.085, allocations: 6.656 MB / 2.888 GB, free: 113 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/7.088, allocations: 1.248 MB / 2.889 GB, free: 113 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/7.089, allocations: 0.6821 MB / 2.89 GB, free: 113 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/7.091, allocations: 2.256 MB / 2.892 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/7.092, allocations: 0.8459 MB / 2.893 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=97): time 5.35e-06/7.092, allocations: 0 / 2.893 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=97): time 0.005023/7.097, allocations: 2.23 MB / 2.895 GB, free: 110 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/7.097, allocations: 150.9 kB / 2.895 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/7.099, allocations: 1.234 MB / 2.896 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/7.099, allocations: 49.73 kB / 2.896 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/7.1, allocations: 0.7053 MB / 2.897 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/7.1, allocations: 329.3 kB / 2.897 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/7.1, allocations: 20.22 kB / 2.897 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/7.1, allocations: 346.6 kB / 2.898 GB, free: 109 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/7.102, allocations: 0.589 MB / 2.898 GB, free: 109 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/7.103, allocations: 0.8952 MB / 2.899 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/7.106, allocations: 1.536 MB / 2.901 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/7.106, allocations: 3.281 kB / 2.901 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004223/7.11, allocations: 1.847 MB / 2.902 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002882/7.111, allocations: 347.5 kB / 2.903 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/7.111, allocations: 11.62 kB / 2.903 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/7.111, allocations: 9.031 kB / 2.903 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/7.112, allocations: 290 kB / 2.903 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/7.112, allocations: 14.69 kB / 2.903 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/7.114, allocations: 254.4 kB / 2.903 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/7.114, allocations: 66.92 kB / 2.903 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/7.115, allocations: 6.562 kB / 2.903 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003986/7.118, allocations: 1.749 MB / 2.905 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/7.119, allocations: 6.969 kB / 2.905 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/7.119, allocations: 9.375 kB / 2.905 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/7.12, allocations: 291 kB / 2.905 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/7.12, allocations: 11.09 kB / 2.905 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/7.122, allocations: 245.8 kB / 2.906 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/7.122, allocations: 64.33 kB / 2.906 GB, free: 107.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (117): * Single equations (assignments): 114 * 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.00104/7.123, allocations: 0.4976 MB / 2.906 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/7.123, allocations: 165.1 kB / 2.906 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/7.128, allocations: 2.347 MB / 2.909 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/7.128, allocations: 16.58 kB / 2.909 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/7.128, allocations: 6.094 kB / 2.909 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/7.128, allocations: 6.844 kB / 2.909 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008094/7.136, allocations: 3.704 MB / 2.912 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/7.137, allocations: 3.75 kB / 2.912 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/7.138, allocations: 225 kB / 2.912 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/7.138, allocations: 10.47 kB / 2.912 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/7.138, allocations: 41.48 kB / 2.912 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/7.138, allocations: 5.688 kB / 2.912 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/7.138, allocations: 5.062 kB / 2.912 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005842/7.144, allocations: 3.147 MB / 2.916 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008935/7.145, allocations: 397.6 kB / 2.916 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/7.145, allocations: 26.94 kB / 2.916 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/7.146, allocations: 168 kB / 2.916 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/7.146, allocations: 84.75 kB / 2.916 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/7.146, allocations: 59.3 kB / 2.916 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001198/7.147, allocations: 0.8269 MB / 2.917 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.81e-07/7.147, allocations: 0 / 2.917 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002799/7.15, allocations: 0.9296 MB / 2.918 GB, free: 105.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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 (101): * Single equations (assignments): 79 * 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.001818/7.152, allocations: 0.9759 MB / 2.919 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00579/7.158, allocations: 2.767 MB / 2.922 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/7.158, allocations: 0 / 2.922 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/7.16, allocations: 1.073 MB / 2.923 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/7.164, allocations: 0.6384 MB / 2.923 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/7.17, allocations: 3.974 MB / 2.927 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008975/7.171, allocations: 1.281 MB / 2.928 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001917/7.173, allocations: 425 kB / 2.929 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/7.174, allocations: 142.8 kB / 2.929 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of SimCode: time 6.81e-07/7.174, allocations: 0 / 2.929 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.07308/7.247, allocations: 34.88 MB / 2.963 GB, free: 100.8 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)