Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004002/0.004009, allocations: 356.2 kB / 16.59 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.848/1.848, allocations: 165.8 MB / 183.1 MB, free: 5.414 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 4.036/4.036, allocations: 410.8 MB / 0.6001 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.001782/0.001781, allocations: 202.5 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004697, allocations: 12 kB / 0.7429 GB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4079, allocations: 67.45 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.07074/0.4787, allocations: 49.07 MB / 0.8567 GB, free: 11.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03776/0.5166, allocations: 16.42 MB / 0.8727 GB, free: 11.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.5198, allocations: 67.56 kB / 0.8728 GB, free: 11.09 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00474/0.5246, allocations: 0.8841 MB / 0.8736 GB, free: 10.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.5365, allocations: 2.447 MB / 0.876 GB, free: 7.746 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01389/0.5504, allocations: 3.07 MB / 0.879 GB, free: 4.707 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.5609, allocations: 5.18 MB / 0.8841 GB, free: 15.51 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003968/0.5649, allocations: 1.237 MB / 0.8853 GB, free: 14.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005373/0.5703, allocations: 1.489 MB / 0.8867 GB, free: 12.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/0.5742, allocations: 1.264 MB / 0.888 GB, free: 11.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007675/0.575, allocations: 71.94 kB / 0.888 GB, free: 11.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005472/0.5805, allocations: 1.337 MB / 0.8893 GB, free: 10.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.5817, allocations: 418.3 kB / 0.8897 GB, free: 9.664 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009911/0.5827, allocations: 412.5 kB / 0.8901 GB, free: 9.254 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.5883, allocations: 2.455 MB / 0.8925 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5883, allocations: 0 / 0.8925 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5883, allocations: 0 / 0.8925 GB, free: 6.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.344e-05/0.5884, allocations: 0 / 0.8925 GB, free: 6.793 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006625/0.5951, allocations: 2.227 MB / 0.8947 GB, free: 4.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.5951, allocations: 8.031 kB / 0.8947 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/0.599, allocations: 492.9 kB / 0.8952 GB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005265/0.6043, allocations: 1.571 MB / 0.8967 GB, free: 2.387 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006906/0.6051, allocations: 166.1 kB / 0.8969 GB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.6055, allocations: 124 kB / 0.897 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004528/0.61, allocations: 1.392 MB / 0.8984 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.6101, allocations: 0 / 0.8984 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.6103, allocations: 48 kB / 0.8984 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.6104, allocations: 28 kB / 0.8984 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004951/0.6153, allocations: 1.128 MB / 0.8995 GB, free: 15.4 MB / 458.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.0149/0.6303, allocations: 7.007 MB / 0.9064 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004591/0.6349, allocations: 1.444 MB / 0.9078 GB, free: 6.297 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.6368, allocations: 442.3 kB / 0.9082 GB, free: 5.863 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007918/0.6448, allocations: 3.087 MB / 0.9112 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/0.6467, allocations: 462.9 kB / 0.9117 GB, free: 1.969 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008981/0.6476, allocations: 99.22 kB / 0.9117 GB, free: 1.871 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 4.529e-06/0.6477, allocations: 0 / 0.9117 GB, free: 1.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.00604/0.6537, allocations: 1.287 MB / 0.913 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.6539, allocations: 141 kB / 0.9131 GB, free: 396 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.6574, allocations: 1.574 MB / 0.9147 GB, free: 14.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.6577, allocations: 41.7 kB / 0.9147 GB, free: 14.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.6588, allocations: 0.8881 MB / 0.9156 GB, free: 13.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/0.6592, allocations: 212.9 kB / 0.9158 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.6593, allocations: 16 kB / 0.9158 GB, free: 13.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6595, allocations: 349.9 kB / 0.9161 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.6615, allocations: 393.8 kB / 0.9165 GB, free: 12.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.6639, allocations: 0.8047 MB / 0.9173 GB, free: 11.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.6661, allocations: 0.5005 MB / 0.9178 GB, free: 11.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.6662, allocations: 3.938 kB / 0.9178 GB, free: 11.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005105/0.6713, allocations: 1.34 MB / 0.9191 GB, free: 10.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003678/0.6717, allocations: 440.9 kB / 0.9195 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.6717, allocations: 12 kB / 0.9195 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.111e-05/0.6718, allocations: 19.95 kB / 0.9196 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.6738, allocations: 271.6 kB / 0.9198 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/0.6739, allocations: 19.94 kB / 0.9198 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.6762, allocations: 136.4 kB / 0.92 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.6764, allocations: 51.98 kB / 0.92 GB, free: 8.973 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6764, allocations: 4 kB / 0.92 GB, free: 8.969 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004342/0.6808, allocations: 1.169 MB / 0.9212 GB, free: 7.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/0.6809, allocations: 12 kB / 0.9212 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/0.6809, allocations: 20 kB / 0.9212 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.6828, allocations: 268 kB / 0.9214 GB, free: 7.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.894e-05/0.6829, allocations: 19.94 kB / 0.9215 GB, free: 7.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.685, allocations: 140.4 kB / 0.9216 GB, free: 7.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.6852, allocations: 47.98 kB / 0.9216 GB, free: 7.297 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001136/0.6864, allocations: 494.4 kB / 0.9221 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.6868, allocations: 169.8 kB / 0.9223 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004595/0.6914, allocations: 1.163 MB / 0.9234 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003542/0.695, allocations: 1.009 MB / 0.9244 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.695, allocations: 0 / 0.9244 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.6961, allocations: 346.7 kB / 0.9247 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/0.6964, allocations: 16 kB / 0.9247 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.6983, allocations: 95.91 kB / 0.9248 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.6985, allocations: 48.58 kB / 0.9249 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005/0.7035, allocations: 1.103 MB / 0.926 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005858/0.7094, allocations: 1.674 MB / 0.9276 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001655/0.7111, allocations: 441 kB / 0.928 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.4204/1.132, allocations: 1.044 MB / 0.929 GB, free: 111.9 MB / 474.7 MB Notification: Performance of Backend: time 1.633e-06/1.132, allocations: 0 / 0.929 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009056/1.141, allocations: 2.23 MB / 0.9312 GB, free: 111.6 MB / 474.7 MB Notification: Performance of SimCode: time 0.01218/1.153, allocations: 4.503 MB / 0.9356 GB, free: 109.3 MB / 474.7 MB Notification: Performance of Templates: time 0.0851/1.238, allocations: 34.07 MB / 0.9689 GB, free: 83.57 MB / 474.7 MB