Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002621/0.002621, allocations: 356.5 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.634/1.634, allocations: 165.8 MB / 183.1 MB, free: 5.406 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.302/4.302, allocations: 410.7 MB / 0.6001 GB, free: 15.34 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.002458/0.002457, allocations: 198 kB / 0.6668 GB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004828, allocations: 12 kB / 0.7429 GB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4228, allocations: 67.44 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.1655/0.5884, allocations: 69.34 MB / 0.8765 GB, free: 7.285 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03203/0.6205, allocations: 11.65 MB / 0.8878 GB, free: 11.61 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.6234, allocations: 55.62 kB / 0.8879 GB, free: 11.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.6274, allocations: 0.6832 MB / 0.8886 GB, free: 10.87 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.6396, allocations: 2.344 MB / 0.8908 GB, free: 8.516 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007721/0.6474, allocations: 1.526 MB / 0.8923 GB, free: 7.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009094/0.6565, allocations: 4.783 MB / 0.897 GB, free: 2.223 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.659, allocations: 1.001 MB / 0.898 GB, free: 1.195 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/0.6624, allocations: 1.232 MB / 0.8992 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.6648, allocations: 1.062 MB / 0.9002 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.6651, allocations: 56 kB / 0.9003 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.6682, allocations: 0.7597 MB / 0.901 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004319/0.6687, allocations: 266.8 kB / 0.9013 GB, free: 13.81 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006311/0.6693, allocations: 356.9 kB / 0.9016 GB, free: 13.45 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003692/0.673, allocations: 2.034 MB / 0.9036 GB, free: 11.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6731, allocations: 0 / 0.9036 GB, free: 11.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6731, allocations: 0 / 0.9036 GB, free: 11.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.6731, allocations: 4 kB / 0.9036 GB, free: 11.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005091/0.6782, allocations: 1.772 MB / 0.9053 GB, free: 9.574 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6783, allocations: 12.03 kB / 0.9053 GB, free: 9.562 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.6796, allocations: 237.9 kB / 0.9056 GB, free: 9.328 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.6838, allocations: 1.431 MB / 0.907 GB, free: 7.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.684, allocations: 78 kB / 0.907 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.6843, allocations: 103.9 kB / 0.9071 GB, free: 7.664 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.6878, allocations: 1.12 MB / 0.9082 GB, free: 6.508 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.6878, allocations: 3.953 kB / 0.9082 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.688, allocations: 40 kB / 0.9083 GB, free: 6.465 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.6881, allocations: 24 kB / 0.9083 GB, free: 6.441 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.6916, allocations: 0.9212 MB / 0.9092 GB, free: 5.523 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.01577/0.7074, allocations: 4.911 MB / 0.914 GB, free: 332 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.7113, allocations: 0.639 MB / 0.9146 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.7132, allocations: 374.3 kB / 0.915 GB, free: 15.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009317/0.7142, allocations: 0.8277 MB / 0.9158 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.7143, allocations: 43.06 kB / 0.9158 GB, free: 14.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=61): time 3.677e-06/0.7143, allocations: 4 kB / 0.9158 GB, free: 14.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=61): time 0.01379/0.7281, allocations: 1.869 MB / 0.9177 GB, free: 12.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.7282, allocations: 59.97 kB / 0.9177 GB, free: 12.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.731, allocations: 1.198 MB / 0.9189 GB, free: 11.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.7312, allocations: 37.7 kB / 0.9189 GB, free: 11.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008131/0.732, allocations: 0.5986 MB / 0.9195 GB, free: 10.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.7324, allocations: 216.9 kB / 0.9197 GB, free: 10.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.7325, allocations: 12 kB / 0.9197 GB, free: 10.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.7327, allocations: 333.9 kB / 0.92 GB, free: 9.852 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.734, allocations: 301.8 kB / 0.9203 GB, free: 9.559 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.7355, allocations: 0.5038 MB / 0.9208 GB, free: 8.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.7369, allocations: 355 kB / 0.9212 GB, free: 8.633 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.7369, allocations: 4 kB / 0.9212 GB, free: 8.629 MB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00903/0.746, allocations: 1.398 MB / 0.9225 GB, free: 7.219 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.7462, allocations: 194.1 kB / 0.9227 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.7463, allocations: 11.92 kB / 0.9227 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.7473, allocations: 144.7 kB / 0.9229 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.7486, allocations: 171.8 kB / 0.923 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.7501, allocations: 0.7006 MB / 0.9237 GB, free: 5.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.7524, allocations: 171.1 kB / 0.9239 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.7527, allocations: 39.92 kB / 0.9239 GB, free: 5.723 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7527, allocations: 4 kB / 0.9239 GB, free: 5.719 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008684/0.7614, allocations: 1.246 MB / 0.9251 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.7615, allocations: 7.984 kB / 0.9251 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009071/0.7624, allocations: 145 kB / 0.9253 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.7638, allocations: 171.7 kB / 0.9254 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.7652, allocations: 0.7045 MB / 0.9261 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/0.7674, allocations: 163.2 kB / 0.9263 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.7676, allocations: 28 kB / 0.9263 GB, free: 3.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.00105/0.7687, allocations: 420.9 kB / 0.9267 GB, free: 2.809 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/0.7692, allocations: 134.4 kB / 0.9268 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008906/0.7781, allocations: 1.396 MB / 0.9282 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008152/0.7863, allocations: 1.232 MB / 0.9294 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.7863, allocations: 0 / 0.9294 GB, free: 0 / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3984/1.185, allocations: 319.2 kB / 0.9297 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/1.185, allocations: 11.69 kB / 0.9297 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/1.187, allocations: 94.08 kB / 0.9298 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/1.187, allocations: 47.66 kB / 0.9299 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005503/1.193, allocations: 1.035 MB / 0.9309 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004895/1.198, allocations: 1.397 MB / 0.9322 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001412/1.199, allocations: 343.4 kB / 0.9326 GB, free: 114.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00229/1.202, allocations: 0.8329 MB / 0.9334 GB, free: 114.2 MB / 474.7 MB Notification: Performance of Backend: time 1.502e-06/1.202, allocations: 0 / 0.9334 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006263/1.208, allocations: 1.339 MB / 0.9347 GB, free: 113.9 MB / 474.7 MB Notification: Performance of SimCode: time 0.01076/1.219, allocations: 3.584 MB / 0.9382 GB, free: 112 MB / 474.7 MB Notification: Performance of Templates: time 0.07482/1.294, allocations: 30.44 MB / 0.9679 GB, free: 86.82 MB / 474.7 MB