Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.52/2.52, allocations: 287.9 MB / 302.9 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001405, allocations: 173.2 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 92.55 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008212/0.0008213, allocations: 11.12 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1579, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.06435/0.2223, allocations: 52.15 MB / 1.03 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01913/0.2415, allocations: 9.878 MB / 1.039 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.2437, allocations: 71.44 kB / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.2465, allocations: 0.7542 MB / 1.04 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.253, allocations: 1.814 MB / 1.042 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006906/0.26, allocations: 1.825 MB / 1.044 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005149/0.2651, allocations: 2.393 MB / 1.046 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.2672, allocations: 0.9845 MB / 1.047 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003954/0.2712, allocations: 1.487 MB / 1.048 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.273, allocations: 0.8478 MB / 1.049 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.2733, allocations: 64 kB / 1.049 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/0.2765, allocations: 1.022 MB / 1.05 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.2771, allocations: 286.8 kB / 1.051 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007244/0.2778, allocations: 356.8 kB / 1.051 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.2812, allocations: 1.691 MB / 1.053 GB, free: 440 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2812, allocations: 0 / 1.053 GB, free: 440 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.917e-06/0.2812, allocations: 0 / 1.053 GB, free: 440 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.227e-05/0.2812, allocations: 0 / 1.053 GB, free: 440 kB / 0.6667 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.003667/0.2849, allocations: 1.898 MB / 1.054 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.285, allocations: 8.031 kB / 1.054 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003972/0.289, allocations: 0.6455 MB / 1.055 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.292, allocations: 1.173 MB / 1.056 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.2922, allocations: 78 kB / 1.056 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.2924, allocations: 115.9 kB / 1.056 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/0.2963, allocations: 1.336 MB / 1.058 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.2963, allocations: 3.938 kB / 1.058 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.2965, allocations: 44 kB / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.2965, allocations: 28 kB / 1.058 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004615/0.3011, allocations: 1.257 MB / 1.059 GB, free: 9.652 MB / 0.6823 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.01176/0.3129, allocations: 6.402 MB / 1.065 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/0.3172, allocations: 1.254 MB / 1.066 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5755/0.8927, allocations: 2.251 MB / 1.069 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002888/0.8956, allocations: 0.8194 MB / 1.069 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 5.721e-06/0.8957, allocations: 0 / 1.069 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.007719/0.9034, allocations: 2.413 MB / 1.072 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.9035, allocations: 150.5 kB / 1.072 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.906, allocations: 1.218 MB / 1.073 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.9062, allocations: 45.44 kB / 1.073 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006597/0.9069, allocations: 0.688 MB / 1.074 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.9073, allocations: 329.9 kB / 1.074 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.9074, allocations: 20.75 kB / 1.074 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.9075, allocations: 349 kB / 1.075 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.9096, allocations: 0.5571 MB / 1.075 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.9119, allocations: 0.7727 MB / 1.076 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.9141, allocations: 0.681 MB / 1.077 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.212e-06/0.9142, allocations: 0.7812 kB / 1.077 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005534/0.9197, allocations: 1.737 MB / 1.078 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004046/0.9202, allocations: 1.718 MB / 1.08 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.9202, allocations: 7.828 kB / 1.08 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.9202, allocations: 9.031 kB / 1.08 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.9219, allocations: 281.3 kB / 1.08 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/0.922, allocations: 8.906 kB / 1.08 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.9239, allocations: 229.7 kB / 1.08 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.9242, allocations: 51.83 kB / 1.08 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.9242, allocations: 7.875 kB / 1.08 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008418/0.9326, allocations: 1.645 MB / 1.082 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.9327, allocations: 8.406 kB / 1.082 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.9328, allocations: 8.656 kB / 1.082 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/0.9355, allocations: 276 kB / 1.082 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.363e-05/0.9355, allocations: 12.38 kB / 1.082 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/0.9388, allocations: 222.6 kB / 1.083 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/0.9392, allocations: 51.41 kB / 1.083 GB, free: 82.83 MB / 0.6823 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.001476/0.9407, allocations: 0.4962 MB / 1.083 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006224/0.9413, allocations: 161.1 kB / 1.083 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008075/0.9494, allocations: 2.317 MB / 1.086 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/0.9495, allocations: 14.47 kB / 1.086 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.821e-06/0.9495, allocations: 0.6562 kB / 1.086 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.9496, allocations: 5.109 kB / 1.086 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009186/0.9588, allocations: 3.651 MB / 1.089 GB, free: 80 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.9588, allocations: 3.172 kB / 1.089 GB, free: 80 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.9603, allocations: 238.3 kB / 1.089 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/0.9603, allocations: 4.766 kB / 1.089 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.9605, allocations: 41.69 kB / 1.089 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.9605, allocations: 5.359 kB / 1.089 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.837e-06/0.9605, allocations: 3.125 kB / 1.089 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008421/0.969, allocations: 3.132 MB / 1.092 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.97, allocations: 394.2 kB / 1.093 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.9703, allocations: 29.69 kB / 1.093 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.972, allocations: 175.1 kB / 1.093 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.9723, allocations: 78.52 kB / 1.093 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/0.9725, allocations: 49.67 kB / 1.093 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001688/0.9742, allocations: 0.8244 MB / 1.094 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.27e-06/0.9742, allocations: 0 / 1.094 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002748/0.9769, allocations: 0.8475 MB / 1.095 GB, free: 77.85 MB / 0.6823 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.001306/0.9783, allocations: 0.5534 MB / 1.095 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007606/0.9859, allocations: 2.761 MB / 1.098 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.08e-06/0.9859, allocations: 0 / 1.098 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002817/0.9888, allocations: 1.098 MB / 1.099 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/0.9927, allocations: 0.6214 MB / 1.1 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/1, allocations: 3.75 MB / 1.103 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.002, allocations: 1.313 MB / 1.105 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002595/1.004, allocations: 422.1 kB / 1.105 GB, free: 72.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/1.005, allocations: 144.3 kB / 1.105 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of SimCode: time 1.648e-06/1.005, allocations: 0 / 1.105 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.0653/1.07, allocations: 29.88 MB / 1.134 GB, free: 50.84 MB / 0.6823 GB