Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.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.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.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.003768/0.003773, 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.575/1.575, 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.014/4.014, allocations: 410.7 MB / 0.6001 GB, free: 15.18 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.001797/0.001797, allocations: 186.3 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007088/0.0007091, allocations: 15.98 kB / 0.7429 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5215, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.1484/0.67, allocations: 69.38 MB / 0.8765 GB, free: 7.242 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0318/0.7018, allocations: 13.89 MB / 0.89 GB, free: 9.336 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.7044, allocations: 55.62 kB / 0.8901 GB, free: 9.281 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.7079, allocations: 0.6831 MB / 0.8908 GB, free: 8.594 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.7184, allocations: 2.443 MB / 0.8931 GB, free: 6.141 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006992/0.7254, allocations: 1.528 MB / 0.8946 GB, free: 4.641 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008901/0.7343, allocations: 4.795 MB / 0.8993 GB, free: 15.83 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.7369, allocations: 1.013 MB / 0.9003 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.7408, allocations: 1.236 MB / 0.9015 GB, free: 13.54 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.7436, allocations: 1.085 MB / 0.9026 GB, free: 12.45 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.744, allocations: 56 kB / 0.9026 GB, free: 12.4 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.7475, allocations: 0.7519 MB / 0.9034 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.7481, allocations: 278.7 kB / 0.9036 GB, free: 11.37 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007885/0.7489, allocations: 356.9 kB / 0.904 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004328/0.7533, allocations: 2.03 MB / 0.906 GB, free: 8.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7533, allocations: 4 kB / 0.906 GB, free: 8.977 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7533, allocations: 0 / 0.906 GB, free: 8.977 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.426e-05/0.7534, allocations: 0 / 0.906 GB, free: 8.977 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.005678/0.7591, allocations: 1.787 MB / 0.9077 GB, free: 7.125 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.7591, allocations: 12.03 kB / 0.9077 GB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.7606, allocations: 237.9 kB / 0.9079 GB, free: 6.879 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.7648, allocations: 1.431 MB / 0.9093 GB, free: 5.391 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/0.765, allocations: 78 kB / 0.9094 GB, free: 5.316 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.7653, allocations: 107.9 kB / 0.9095 GB, free: 5.211 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.7687, allocations: 1.12 MB / 0.9106 GB, free: 4.055 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.7688, allocations: 3.906 kB / 0.9106 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.7689, allocations: 47.94 kB / 0.9107 GB, free: 4.004 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-05/0.769, allocations: 28 kB / 0.9107 GB, free: 3.977 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.7725, allocations: 0.9212 MB / 0.9116 GB, free: 3.059 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.01024/0.7828, allocations: 4.919 MB / 0.9164 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.7854, allocations: 0.6428 MB / 0.917 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.7868, allocations: 370.3 kB / 0.9174 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009245/0.7878, allocations: 0.8277 MB / 0.9182 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.7878, allocations: 35.12 kB / 0.9182 GB, free: 11.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=61): time 3.366e-06/0.7879, allocations: 4 kB / 0.9182 GB, free: 11.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=61): time 0.01403/0.8019, allocations: 1.888 MB / 0.9201 GB, free: 9.859 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.802, allocations: 59.97 kB / 0.9201 GB, free: 9.789 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/0.8047, allocations: 1.198 MB / 0.9213 GB, free: 8.574 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.805, allocations: 41.7 kB / 0.9213 GB, free: 8.527 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008039/0.8058, allocations: 0.5987 MB / 0.9219 GB, free: 7.922 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.8061, allocations: 220.9 kB / 0.9221 GB, free: 7.703 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.8062, allocations: 8 kB / 0.9221 GB, free: 7.695 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.8064, allocations: 337.9 kB / 0.9225 GB, free: 7.359 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.8076, allocations: 297.8 kB / 0.9227 GB, free: 7.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.8092, allocations: 0.5123 MB / 0.9232 GB, free: 6.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.8106, allocations: 363 kB / 0.9236 GB, free: 6.125 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.8106, allocations: 0 / 0.9236 GB, free: 6.125 MB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009083/0.8197, allocations: 1.402 MB / 0.925 GB, free: 4.711 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.8199, allocations: 198.3 kB / 0.9251 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8199, allocations: 4 kB / 0.9251 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009809/0.8209, allocations: 140.8 kB / 0.9253 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.8223, allocations: 171.8 kB / 0.9254 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.8237, allocations: 0.7239 MB / 0.9262 GB, free: 3.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.826, allocations: 171.8 kB / 0.9263 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.8262, allocations: 35.98 kB / 0.9263 GB, free: 3.203 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8262, allocations: 4 kB / 0.9264 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008559/0.8348, allocations: 1.245 MB / 0.9276 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.8349, allocations: 4 kB / 0.9276 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008991/0.8358, allocations: 149.1 kB / 0.9277 GB, free: 1.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.837, allocations: 175.7 kB / 0.9279 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.8384, allocations: 0.7046 MB / 0.9286 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.8405, allocations: 171.1 kB / 0.9287 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.8407, allocations: 35.92 kB / 0.9288 GB, free: 0.6914 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.8417, allocations: 428.9 kB / 0.9292 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.8421, allocations: 130.4 kB / 0.9293 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3743/1.216, allocations: 1.385 MB / 0.9307 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008364/1.225, allocations: 1.235 MB / 0.9319 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/1.225, allocations: 0.625 kB / 0.9319 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.226, allocations: 323.6 kB / 0.9322 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/1.226, allocations: 16.72 kB / 0.9322 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.228, allocations: 89.2 kB / 0.9323 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.228, allocations: 46.48 kB / 0.9323 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005189/1.233, allocations: 1.038 MB / 0.9333 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004713/1.238, allocations: 1.395 MB / 0.9347 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001212/1.239, allocations: 344.4 kB / 0.935 GB, free: 114 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001912/1.241, allocations: 0.8307 MB / 0.9358 GB, free: 113.7 MB / 474.7 MB Notification: Performance of Backend: time 5.11e-07/1.241, allocations: 0 / 0.9358 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005639/1.247, allocations: 1.357 MB / 0.9372 GB, free: 113.3 MB / 474.7 MB Notification: Performance of SimCode: time 0.01/1.257, allocations: 3.602 MB / 0.9407 GB, free: 111.4 MB / 474.7 MB Notification: Performance of Templates: time 0.06963/1.327, allocations: 30.49 MB / 0.9704 GB, free: 84.19 MB / 474.7 MB