Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002393/0.002397, allocations: 356.6 kB / 15.94 MB, free: 6.207 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.429/1.429, allocations: 165.8 MB / 182.5 MB, free: 5.43 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.83/3.83, allocations: 410.7 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001698/0.001698, allocations: 185.2 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004623, allocations: 15.98 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3564, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.1029/0.4593, allocations: 57.37 MB / 0.8642 GB, free: 3.281 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01989/0.4792, allocations: 10.57 MB / 0.8745 GB, free: 8.691 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.4816, allocations: 79.44 kB / 0.8746 GB, free: 8.613 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.4843, allocations: 0.695 MB / 0.8752 GB, free: 7.914 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007056/0.4914, allocations: 1.92 MB / 0.8771 GB, free: 5.984 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00691/0.4984, allocations: 1.809 MB / 0.8789 GB, free: 4.191 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00719/0.5056, allocations: 4.5 MB / 0.8833 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.5077, allocations: 0.9666 MB / 0.8842 GB, free: 14.69 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/0.5118, allocations: 1.516 MB / 0.8857 GB, free: 13.17 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.5144, allocations: 1.155 MB / 0.8868 GB, free: 12.01 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003265/0.5147, allocations: 60 kB / 0.8869 GB, free: 11.95 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.5179, allocations: 0.9548 MB / 0.8878 GB, free: 10.99 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005826/0.5185, allocations: 290.6 kB / 0.8881 GB, free: 10.71 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008138/0.5194, allocations: 352.8 kB / 0.8884 GB, free: 10.36 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003463/0.5229, allocations: 1.718 MB / 0.8901 GB, free: 8.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.786e-06/0.5229, allocations: 0 / 0.8901 GB, free: 8.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5229, allocations: 3.938 kB / 0.8901 GB, free: 8.629 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.523, allocations: 4 kB / 0.8901 GB, free: 8.625 MB / 442.7 MB 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.003861/0.5268, allocations: 1.879 MB / 0.892 GB, free: 6.668 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5269, allocations: 12.03 kB / 0.892 GB, free: 6.656 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004016/0.5309, allocations: 0.6493 MB / 0.8926 GB, free: 6.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.5341, allocations: 1.177 MB / 0.8937 GB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/0.5343, allocations: 78 kB / 0.8938 GB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.5345, allocations: 111.9 kB / 0.8939 GB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.5385, allocations: 1.344 MB / 0.8952 GB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.5386, allocations: 11.94 kB / 0.8953 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.5388, allocations: 43.94 kB / 0.8953 GB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.5388, allocations: 24 kB / 0.8953 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.5435, allocations: 1.261 MB / 0.8965 GB, free: 1.844 MB / 442.7 MB 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.01171/0.5552, allocations: 6.405 MB / 0.9028 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.5595, allocations: 1.265 MB / 0.904 GB, free: 9.641 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.5618, allocations: 0.6727 MB / 0.9047 GB, free: 8.969 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002496/0.5643, allocations: 2.257 MB / 0.9069 GB, free: 6.211 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002562/0.5669, allocations: 0.8289 MB / 0.9077 GB, free: 5.352 MB / 458.7 MB Notification: Performance of pre-optimization done (n=100): time 4.993e-06/0.567, allocations: 4 kB / 0.9077 GB, free: 5.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=100): time 0.007134/0.5741, allocations: 2.178 MB / 0.9098 GB, free: 3.145 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.5743, allocations: 153.5 kB / 0.91 GB, free: 2.965 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.5766, allocations: 1.214 MB / 0.9112 GB, free: 1.742 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.5768, allocations: 41.7 kB / 0.9112 GB, free: 1.695 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007934/0.5776, allocations: 0.6939 MB / 0.9119 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004512/0.5781, allocations: 319.3 kB / 0.9122 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-05/0.5782, allocations: 24 kB / 0.9122 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5784, allocations: 341.9 kB / 0.9125 GB, free: 320 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.5805, allocations: 0.5641 MB / 0.9131 GB, free: 15.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.5827, allocations: 0.7765 MB / 0.9139 GB, free: 14.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.5849, allocations: 0.6794 MB / 0.9145 GB, free: 14.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.24e-06/0.585, allocations: 0 / 0.9145 GB, free: 14.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005423/0.5904, allocations: 1.738 MB / 0.9162 GB, free: 12.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002867/0.5907, allocations: 318.5 kB / 0.9165 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5908, allocations: 4 kB / 0.9165 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.5908, allocations: 8 kB / 0.9165 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.5925, allocations: 287.6 kB / 0.9168 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.5925, allocations: 8 kB / 0.9168 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.5945, allocations: 226.9 kB / 0.917 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.5947, allocations: 51.97 kB / 0.9171 GB, free: 11.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5947, allocations: 4 kB / 0.9171 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005194/0.5999, allocations: 1.648 MB / 0.9187 GB, free: 9.805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6, allocations: 4 kB / 0.9187 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6, allocations: 8 kB / 0.9187 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.6016, allocations: 276.1 kB / 0.919 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/0.6017, allocations: 19.94 kB / 0.919 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.6035, allocations: 215 kB / 0.9192 GB, free: 9.293 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.6037, allocations: 55.97 kB / 0.9192 GB, free: 9.238 MB / 474.7 MB 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.00101/0.6047, allocations: 0.4964 MB / 0.9197 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.6051, allocations: 166 kB / 0.9199 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006753/0.6119, allocations: 2.308 MB / 0.9221 GB, free: 6.211 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.59e-05/0.612, allocations: 11.98 kB / 0.9221 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.612, allocations: 3.953 kB / 0.9222 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.612, allocations: 11.97 kB / 0.9222 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009501/0.6216, allocations: 3.643 MB / 0.9257 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.6216, allocations: 0 / 0.9257 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.6231, allocations: 239.8 kB / 0.926 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.6231, allocations: 7.938 kB / 0.926 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.6233, allocations: 43.97 kB / 0.926 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/0.6233, allocations: 7.984 kB / 0.926 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.147e-06/0.6233, allocations: 0 / 0.926 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3404/0.9637, allocations: 3.056 MB / 0.929 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009925/0.9648, allocations: 398.9 kB / 0.9294 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.9651, allocations: 29.45 kB / 0.9294 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.9668, allocations: 166.9 kB / 0.9296 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.967, allocations: 73.03 kB / 0.9296 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/0.9672, allocations: 49.73 kB / 0.9297 GB, free: 114.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001717/0.969, allocations: 0.8177 MB / 0.9305 GB, free: 114 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.956e-06/0.969, allocations: 0 / 0.9305 GB, free: 114 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002994/0.972, allocations: 0.8548 MB / 0.9313 GB, free: 114 MB / 474.7 MB 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.001359/0.9734, allocations: 0.5541 MB / 0.9319 GB, free: 113.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007652/0.9811, allocations: 2.767 MB / 0.9346 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.745e-06/0.9811, allocations: 1.281 kB / 0.9346 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002866/0.984, allocations: 1.092 MB / 0.9356 GB, free: 112.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/0.9883, allocations: 0.6432 MB / 0.9362 GB, free: 112.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/0.9959, allocations: 3.757 MB / 0.9399 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008443/0.9968, allocations: 1.312 MB / 0.9412 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002588/0.9994, allocations: 431.2 kB / 0.9416 GB, free: 109.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/1, allocations: 144.5 kB / 0.9417 GB, free: 109.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.828e-06/1, allocations: 0 / 0.9417 GB, free: 109.3 MB / 474.7 MB Notification: Performance of Templates: time 0.06551/1.065, allocations: 29.88 MB / 0.9709 GB, free: 82.49 MB / 474.7 MB