Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002461/0.002465, allocations: 357.2 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.498/1.498, allocations: 165.8 MB / 182.5 MB, free: 5.484 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.713/3.713, allocations: 410.8 MB / 0.5995 GB, free: 15.2 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.00172/0.001719, allocations: 191.4 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004921, allocations: 16 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3514, allocations: 67.44 MB / 0.8081 GB, free: 28.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.08915/0.4406, allocations: 56.43 MB / 0.8633 GB, free: 4.059 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03448/0.4751, allocations: 10.96 MB / 0.874 GB, free: 9.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.478, allocations: 51.62 kB / 0.874 GB, free: 9.039 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.4819, allocations: 0.5744 MB / 0.8746 GB, free: 8.461 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.4948, allocations: 1.975 MB / 0.8765 GB, free: 6.477 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007363/0.5022, allocations: 1.326 MB / 0.8778 GB, free: 5.176 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005665/0.5079, allocations: 3.389 MB / 0.8811 GB, free: 1.777 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.5097, allocations: 0.7976 MB / 0.8819 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.5124, allocations: 1.003 MB / 0.8829 GB, free: 15.95 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.5143, allocations: 0.8088 MB / 0.8836 GB, free: 15.14 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.5146, allocations: 44 kB / 0.8837 GB, free: 15.1 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.5175, allocations: 0.9196 MB / 0.8846 GB, free: 14.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.518, allocations: 203 kB / 0.8848 GB, free: 13.98 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.5186, allocations: 289 kB / 0.8851 GB, free: 13.69 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.5217, allocations: 1.594 MB / 0.8866 GB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.546e-06/0.5217, allocations: 4 kB / 0.8866 GB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.508e-06/0.5217, allocations: 0 / 0.8866 GB, free: 12.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.5218, allocations: 0 / 0.8866 GB, free: 12.09 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003663/0.5254, allocations: 1.491 MB / 0.8881 GB, free: 10.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5255, allocations: 8.031 kB / 0.8881 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.5283, allocations: 481.9 kB / 0.8885 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.5314, allocations: 1.097 MB / 0.8896 GB, free: 8.902 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000452/0.5319, allocations: 121.9 kB / 0.8897 GB, free: 8.785 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.5321, allocations: 87.95 kB / 0.8898 GB, free: 8.699 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.535, allocations: 1.003 MB / 0.8908 GB, free: 7.656 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.5351, allocations: 3.938 kB / 0.8908 GB, free: 7.652 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.5352, allocations: 32 kB / 0.8908 GB, free: 7.621 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.5353, allocations: 16 kB / 0.8908 GB, free: 7.605 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.5388, allocations: 0.9251 MB / 0.8917 GB, free: 6.684 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.009623/0.5484, allocations: 4.615 MB / 0.8962 GB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/0.5529, allocations: 0.9459 MB / 0.8972 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.5541, allocations: 336.6 kB / 0.8975 GB, free: 476 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009542/0.5551, allocations: 0.9068 MB / 0.8984 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5552, allocations: 39 kB / 0.8984 GB, free: 15.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 5.549e-06/0.5552, allocations: 3.984 kB / 0.8984 GB, free: 15.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=47): time 0.01002/0.5652, allocations: 2.01 MB / 0.9004 GB, free: 13.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.5653, allocations: 59.78 kB / 0.9004 GB, free: 13.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.5676, allocations: 1.048 MB / 0.9015 GB, free: 12.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5678, allocations: 33.7 kB / 0.9015 GB, free: 12.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000675/0.5684, allocations: 0.5235 MB / 0.902 GB, free: 11.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.5687, allocations: 177.6 kB / 0.9022 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.5687, allocations: 8 kB / 0.9022 GB, free: 11.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5689, allocations: 326 kB / 0.9025 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.5702, allocations: 332.9 kB / 0.9028 GB, free: 10.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.5718, allocations: 0.5328 MB / 0.9033 GB, free: 10.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.5731, allocations: 376.6 kB / 0.9037 GB, free: 9.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.773e-06/0.5731, allocations: 0 / 0.9037 GB, free: 9.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005024/0.5782, allocations: 1.229 MB / 0.9049 GB, free: 8.508 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.5784, allocations: 205.3 kB / 0.9051 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.5784, allocations: 7.953 kB / 0.9051 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.5804, allocations: 324.6 kB / 0.9054 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.5813, allocations: 135.8 kB / 0.9055 GB, free: 7.793 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.5834, allocations: 0.9317 MB / 0.9064 GB, free: 6.836 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.5852, allocations: 192 kB / 0.9066 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.5854, allocations: 39.98 kB / 0.9067 GB, free: 6.609 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.5854, allocations: 4 kB / 0.9067 GB, free: 6.605 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004549/0.59, allocations: 1.084 MB / 0.9077 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.59, allocations: 4 kB / 0.9077 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.5915, allocations: 332 kB / 0.908 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/0.5924, allocations: 135.8 kB / 0.9082 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.5944, allocations: 0.9231 MB / 0.9091 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.5961, allocations: 179.3 kB / 0.9092 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.5962, allocations: 31.92 kB / 0.9093 GB, free: 3.902 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007417/0.597, allocations: 364.8 kB / 0.9096 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.5972, allocations: 110.6 kB / 0.9097 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/0.6022, allocations: 1.233 MB / 0.9109 GB, free: 2.176 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.6023, allocations: 11.98 kB / 0.9109 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6023, allocations: 3.938 kB / 0.911 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6023, allocations: 0 / 0.911 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/0.6096, allocations: 2.314 MB / 0.9132 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.6097, allocations: 12.03 kB / 0.9132 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.6102, allocations: 79.88 kB / 0.9133 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.6117, allocations: 320.5 kB / 0.9136 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.492e-05/0.6118, allocations: 19.98 kB / 0.9136 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.6139, allocations: 0.9698 MB / 0.9146 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.767e-06/0.6139, allocations: 0 / 0.9146 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005901/0.6198, allocations: 1.449 MB / 0.916 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.6207, allocations: 283.5 kB / 0.9163 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.6209, allocations: 15.95 kB / 0.9163 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.6221, allocations: 115.7 kB / 0.9164 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.6222, allocations: 35.95 kB / 0.9164 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/0.6223, allocations: 27.97 kB / 0.9164 GB, free: 12.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001878/0.6242, allocations: 0.7391 MB / 0.9172 GB, free: 11.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.632e-06/0.6243, allocations: 0 / 0.9172 GB, free: 11.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002174/0.6264, allocations: 0.5575 MB / 0.9177 GB, free: 11.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008988/0.6274, allocations: 372.6 kB / 0.9181 GB, free: 10.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004492/0.6319, allocations: 1.202 MB / 0.9192 GB, free: 9.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.149e-06/0.6319, allocations: 4 kB / 0.9192 GB, free: 9.477 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.6333, allocations: 399 kB / 0.9196 GB, free: 9.086 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.6368, allocations: 0.5288 MB / 0.9201 GB, free: 8.562 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/0.6441, allocations: 2.507 MB / 0.9226 GB, free: 5.996 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.6452, allocations: 1.086 MB / 0.9236 GB, free: 4.883 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001547/0.6467, allocations: 228.8 kB / 0.9239 GB, free: 4.656 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.647, allocations: 79.36 kB / 0.9239 GB, free: 4.578 MB / 474.7 MB Notification: Performance of SimCode: time 1.708e-06/0.6471, allocations: 4 kB / 0.9239 GB, free: 4.574 MB / 474.7 MB Notification: Performance of Templates: time 0.3638/1.011, allocations: 23.59 MB / 0.947 GB, free: 105.7 MB / 474.7 MB