Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002531/0.002531, allocations: 356.3 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.319/1.319, allocations: 165.8 MB / 183.1 MB, free: 5.91 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.121/4.121, allocations: 410.7 MB / 0.6001 GB, free: 2.188 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001825, allocations: 181 kB / 0.6668 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004679, allocations: 12 kB / 0.7429 GB, free: 56 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4638, allocations: 67.43 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8173/1.281, allocations: 350.5 MB / 1.151 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.281, allocations: 94.89 kB / 1.151 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.404/8.686, allocations: 1.5 GB / 2.651 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.585e-06/8.686, allocations: 4 kB / 2.651 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002813/8.686, allocations: 51.92 kB / 2.651 GB, free: 16.61 MB / 0.5886 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.007751/8.694, allocations: 2.206 MB / 2.653 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/8.694, allocations: 8.031 kB / 2.654 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005719/8.7, allocations: 0.606 MB / 2.654 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00633/8.706, allocations: 1.496 MB / 2.656 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/8.706, allocations: 82 kB / 2.656 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/8.707, allocations: 112.3 kB / 2.656 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/8.712, allocations: 1.389 MB / 2.657 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/8.712, allocations: 0 / 2.657 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/8.712, allocations: 44 kB / 2.657 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/8.712, allocations: 28 kB / 2.657 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006066/8.718, allocations: 1.237 MB / 2.658 GB, free: 9.215 MB / 0.5886 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.01323/8.732, allocations: 6.667 MB / 2.665 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005527/8.737, allocations: 1.241 MB / 2.666 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/8.74, allocations: 0.6781 MB / 2.667 GB, free: 124 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002623/8.743, allocations: 2.26 MB / 2.669 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003618/8.747, allocations: 0.8466 MB / 2.67 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=97): time 4.509e-06/8.747, allocations: 0 / 2.67 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=97): time 0.01076/8.757, allocations: 2.225 MB / 2.672 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/8.758, allocations: 149.2 kB / 2.672 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/8.761, allocations: 1.231 MB / 2.673 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003485/8.761, allocations: 49.7 kB / 2.673 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/8.762, allocations: 0.7097 MB / 2.674 GB, free: 8.051 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006275/8.763, allocations: 334.5 kB / 2.674 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/8.763, allocations: 20 kB / 2.674 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001688/8.763, allocations: 345.9 kB / 2.675 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002969/8.766, allocations: 0.5839 MB / 2.675 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/8.769, allocations: 0.8982 MB / 2.676 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/8.773, allocations: 0.7175 MB / 2.677 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/8.773, allocations: 0 / 2.677 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.008156/8.781, allocations: 1.852 MB / 2.679 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003246/8.781, allocations: 344.5 kB / 2.679 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/8.781, allocations: 7.938 kB / 2.679 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/8.781, allocations: 12 kB / 2.679 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/8.784, allocations: 295.6 kB / 2.679 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.091e-05/8.784, allocations: 15.89 kB / 2.679 GB, free: 2.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/8.787, allocations: 250.8 kB / 2.68 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004821/8.788, allocations: 70.64 kB / 2.68 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/8.788, allocations: 0 / 2.68 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007861/8.796, allocations: 1.75 MB / 2.681 GB, free: 320 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/8.796, allocations: 4 kB / 2.681 GB, free: 316 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/8.796, allocations: 16.03 kB / 2.681 GB, free: 300 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/8.799, allocations: 291.6 kB / 2.682 GB, free: 8 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.468/9.267, allocations: 10.17 kB / 2.682 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/9.27, allocations: 245.5 kB / 2.682 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003961/9.27, allocations: 59.83 kB / 2.682 GB, free: 65.84 MB / 0.6042 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.001256/9.272, allocations: 0.5 MB / 2.682 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/9.272, allocations: 165.4 kB / 2.683 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008914/9.281, allocations: 2.355 MB / 2.685 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.735e-05/9.281, allocations: 18.48 kB / 2.685 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/9.281, allocations: 0 / 2.685 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/9.281, allocations: 5.688 kB / 2.685 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/9.294, allocations: 3.697 MB / 2.689 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/9.294, allocations: 1.656 kB / 2.689 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/9.297, allocations: 236.6 kB / 2.689 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/9.297, allocations: 3.938 kB / 2.689 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/9.297, allocations: 44.95 kB / 2.689 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/9.297, allocations: 9.734 kB / 2.689 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/9.297, allocations: 5.969 kB / 2.689 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/9.308, allocations: 3.139 MB / 2.692 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/9.31, allocations: 405.7 kB / 2.692 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005424/9.31, allocations: 27.88 kB / 2.692 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002613/9.313, allocations: 181.3 kB / 2.692 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/9.313, allocations: 68.16 kB / 2.693 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/9.313, allocations: 58.23 kB / 2.693 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001823/9.315, allocations: 0.8264 MB / 2.693 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/9.315, allocations: 0 / 2.693 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004106/9.319, allocations: 0.9269 MB / 2.694 GB, free: 64.26 MB / 0.6042 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.002564/9.322, allocations: 0.9806 MB / 2.695 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009869/9.332, allocations: 2.77 MB / 2.698 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/9.332, allocations: 0 / 2.698 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003513/9.335, allocations: 1.072 MB / 2.699 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005758/9.341, allocations: 0.6445 MB / 2.7 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009967/9.351, allocations: 3.976 MB / 2.704 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/9.352, allocations: 1.314 MB / 2.705 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002858/9.355, allocations: 421.8 kB / 2.705 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/9.356, allocations: 142.9 kB / 2.705 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of SimCode: time 1.604e-06/9.356, allocations: 0 / 2.705 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.08594/9.442, allocations: 34.43 MB / 2.739 GB, free: 59.52 MB / 0.6042 GB