Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00266/0.002664, allocations: 359.9 kB / 16.59 MB, free: 5.562 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.554/1.554, allocations: 165.8 MB / 183.1 MB, free: 5.535 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.875/3.875, allocations: 410.7 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.001756/0.001756, allocations: 202.3 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006928/0.0006935, allocations: 20 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4387, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.0724/0.5111, allocations: 49.07 MB / 0.8567 GB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03915/0.5503, allocations: 16.43 MB / 0.8727 GB, free: 11.11 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003286/0.5537, allocations: 71.5 kB / 0.8728 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004911/0.5586, allocations: 0.8771 MB / 0.8736 GB, free: 10.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.5697, allocations: 2.454 MB / 0.876 GB, free: 7.699 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01396/0.5837, allocations: 3.074 MB / 0.879 GB, free: 4.656 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.5945, allocations: 5.177 MB / 0.8841 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.5981, allocations: 1.241 MB / 0.8853 GB, free: 14.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004808/0.6029, allocations: 1.489 MB / 0.8867 GB, free: 12.7 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.6063, allocations: 1.248 MB / 0.888 GB, free: 11.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006826/0.6071, allocations: 72 kB / 0.888 GB, free: 11.38 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/0.6123, allocations: 1.352 MB / 0.8894 GB, free: 10.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.6135, allocations: 418.3 kB / 0.8897 GB, free: 9.613 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.6145, allocations: 408.6 kB / 0.8901 GB, free: 9.207 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005856/0.6204, allocations: 2.451 MB / 0.8925 GB, free: 6.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.6205, allocations: 0 / 0.8925 GB, free: 6.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6205, allocations: 0 / 0.8925 GB, free: 6.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.076e-05/0.6206, allocations: 0 / 0.8925 GB, free: 6.75 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.006852/0.6275, allocations: 2.225 MB / 0.8947 GB, free: 4.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.6275, allocations: 8.031 kB / 0.8947 GB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/0.6314, allocations: 488.9 kB / 0.8952 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005684/0.6372, allocations: 1.583 MB / 0.8967 GB, free: 2.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007434/0.638, allocations: 158.1 kB / 0.8969 GB, free: 2.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/0.6385, allocations: 128 kB / 0.897 GB, free: 2.055 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.6436, allocations: 1.388 MB / 0.8984 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.6437, allocations: 0 / 0.8984 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/0.644, allocations: 52 kB / 0.8984 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.982e-05/0.644, allocations: 31.98 kB / 0.8984 GB, free: 496 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005269/0.6493, allocations: 1.136 MB / 0.8995 GB, free: 15.34 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.01489/0.6643, allocations: 7.003 MB / 0.9064 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00464/0.6689, allocations: 1.436 MB / 0.9078 GB, free: 6.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002705/0.6717, allocations: 446.3 kB / 0.9082 GB, free: 5.812 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007797/0.6796, allocations: 3.083 MB / 0.9112 GB, free: 2.387 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/0.6815, allocations: 462.9 kB / 0.9117 GB, free: 1.922 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000763/0.6823, allocations: 87.25 kB / 0.9117 GB, free: 1.836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 4.699e-06/0.6823, allocations: 0 / 0.9117 GB, free: 1.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.005634/0.6879, allocations: 1.291 MB / 0.913 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.6881, allocations: 141.1 kB / 0.9131 GB, free: 356 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.6914, allocations: 1.574 MB / 0.9147 GB, free: 14.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.6916, allocations: 41.7 kB / 0.9147 GB, free: 14.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.6928, allocations: 0.8919 MB / 0.9156 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.6931, allocations: 220.9 kB / 0.9158 GB, free: 13.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.6932, allocations: 20 kB / 0.9158 GB, free: 13.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6934, allocations: 341.9 kB / 0.9161 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.6951, allocations: 397.8 kB / 0.9165 GB, free: 12.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.6975, allocations: 0.7969 MB / 0.9173 GB, free: 11.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.6995, allocations: 0.5084 MB / 0.9178 GB, free: 11.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.6995, allocations: 4 kB / 0.9178 GB, free: 11.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005011/0.7045, allocations: 1.333 MB / 0.9191 GB, free: 10.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003999/0.705, allocations: 441 kB / 0.9195 GB, free: 9.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.705, allocations: 12 kB / 0.9195 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.307e-05/0.7051, allocations: 19.95 kB / 0.9196 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.7071, allocations: 267.6 kB / 0.9198 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.544e-05/0.7071, allocations: 19.94 kB / 0.9198 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.7094, allocations: 132.5 kB / 0.92 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.7097, allocations: 51.98 kB / 0.92 GB, free: 8.934 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7097, allocations: 8 kB / 0.92 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004353/0.714, allocations: 1.176 MB / 0.9212 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.7141, allocations: 12 kB / 0.9212 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.7142, allocations: 16 kB / 0.9212 GB, free: 7.715 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.7161, allocations: 264.2 kB / 0.9214 GB, free: 7.457 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/0.7161, allocations: 23.92 kB / 0.9215 GB, free: 7.434 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.7187, allocations: 136.3 kB / 0.9216 GB, free: 7.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.719, allocations: 55.98 kB / 0.9216 GB, free: 7.246 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.001231/0.7202, allocations: 491.2 kB / 0.9221 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/0.7208, allocations: 165.8 kB / 0.9223 GB, free: 6.594 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/0.7261, allocations: 1.171 MB / 0.9234 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0038/0.7299, allocations: 1.013 MB / 0.9244 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.73, allocations: 0 / 0.9244 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.7311, allocations: 334.7 kB / 0.9247 GB, free: 3.996 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.7315, allocations: 19.98 kB / 0.9247 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.7334, allocations: 99.91 kB / 0.9248 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.7336, allocations: 52.58 kB / 0.9249 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005288/0.7389, allocations: 1.103 MB / 0.926 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006542/0.7455, allocations: 1.678 MB / 0.9276 GB, free: 1.016 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001912/0.7475, allocations: 433 kB / 0.928 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.3772/1.125, allocations: 1.048 MB / 0.929 GB, free: 111.9 MB / 474.7 MB Notification: Performance of Backend: time 2.625e-06/1.125, allocations: 0 / 0.929 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009609/1.134, allocations: 2.224 MB / 0.9312 GB, free: 111.6 MB / 474.7 MB Notification: Performance of SimCode: time 0.01188/1.146, allocations: 4.491 MB / 0.9356 GB, free: 109.2 MB / 474.7 MB Notification: Performance of Templates: time 0.09066/1.237, allocations: 34.09 MB / 0.9689 GB, free: 83.49 MB / 474.7 MB