Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002393/0.002397, allocations: 355.9 kB / 15.94 MB, free: 6.211 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.433/1.433, allocations: 165.8 MB / 182.5 MB, free: 5.504 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.803/3.803, allocations: 410.7 MB / 0.5995 GB, free: 15.11 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.001718/0.001717, allocations: 201.9 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 15.92 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3362, allocations: 67.44 MB / 0.8082 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.07092/0.4072, allocations: 56.46 MB / 0.8633 GB, free: 4.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02062/0.4278, allocations: 10.97 MB / 0.874 GB, free: 9.211 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.4299, allocations: 55.62 kB / 0.874 GB, free: 9.156 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.4324, allocations: 0.5706 MB / 0.8746 GB, free: 8.582 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007611/0.44, allocations: 1.97 MB / 0.8765 GB, free: 6.602 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.4452, allocations: 1.315 MB / 0.8778 GB, free: 5.312 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005609/0.4509, allocations: 3.398 MB / 0.8811 GB, free: 1.902 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.4526, allocations: 0.8015 MB / 0.8819 GB, free: 1.082 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.4552, allocations: 1.007 MB / 0.8829 GB, free: 72 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.4568, allocations: 0.8088 MB / 0.8837 GB, free: 15.26 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.457, allocations: 40 kB / 0.8837 GB, free: 15.22 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.4598, allocations: 0.9431 MB / 0.8846 GB, free: 14.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.4602, allocations: 203 kB / 0.8848 GB, free: 14.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.4608, allocations: 289 kB / 0.8851 GB, free: 13.79 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.4642, allocations: 1.609 MB / 0.8867 GB, free: 12.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.974e-06/0.4642, allocations: 4 kB / 0.8867 GB, free: 12.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4643, allocations: 0 / 0.8867 GB, free: 12.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.4643, allocations: 0 / 0.8867 GB, free: 12.17 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.003756/0.4681, allocations: 1.494 MB / 0.8881 GB, free: 10.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4681, allocations: 15.97 kB / 0.8882 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.4702, allocations: 386 kB / 0.8885 GB, free: 10.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/0.4733, allocations: 1.09 MB / 0.8896 GB, free: 9.074 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/0.4737, allocations: 125.9 kB / 0.8897 GB, free: 8.953 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.4739, allocations: 87.95 kB / 0.8898 GB, free: 8.867 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.4766, allocations: 0.9605 MB / 0.8907 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.4767, allocations: 3.938 kB / 0.8907 GB, free: 7.863 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.4768, allocations: 36 kB / 0.8908 GB, free: 7.828 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.4769, allocations: 20 kB / 0.8908 GB, free: 7.809 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.4798, allocations: 0.8548 MB / 0.8916 GB, free: 6.957 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.008887/0.4887, allocations: 4.532 MB / 0.8961 GB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.4909, allocations: 0.6344 MB / 0.8967 GB, free: 1.465 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009115/0.4918, allocations: 298 kB / 0.897 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/0.4937, allocations: 1.396 MB / 0.8983 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.4938, allocations: 35 kB / 0.8984 GB, free: 15.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 3.725e-06/0.4938, allocations: 0 / 0.8984 GB, free: 15.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=47): time 0.009725/0.5036, allocations: 1.912 MB / 0.9002 GB, free: 13.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.5037, allocations: 55.84 kB / 0.9003 GB, free: 13.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.5059, allocations: 1.044 MB / 0.9013 GB, free: 12.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.506, allocations: 37.7 kB / 0.9013 GB, free: 12.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/0.5066, allocations: 0.5196 MB / 0.9018 GB, free: 11.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.5068, allocations: 165.6 kB / 0.902 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.5069, allocations: 12 kB / 0.902 GB, free: 11.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5071, allocations: 330 kB / 0.9023 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.5085, allocations: 296.9 kB / 0.9026 GB, free: 11.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.5099, allocations: 0.4884 MB / 0.9031 GB, free: 10.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.511, allocations: 332.6 kB / 0.9034 GB, free: 10.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-06/0.511, allocations: 0 / 0.9034 GB, free: 10.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004644/0.5157, allocations: 1.155 MB / 0.9045 GB, free: 8.945 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.5159, allocations: 204.3 kB / 0.9047 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5159, allocations: 4 kB / 0.9047 GB, free: 8.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.5176, allocations: 332.6 kB / 0.905 GB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.5183, allocations: 119.8 kB / 0.9052 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.5205, allocations: 0.9503 MB / 0.9061 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.5222, allocations: 179.2 kB / 0.9063 GB, free: 7.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.5224, allocations: 31.94 kB / 0.9063 GB, free: 7.062 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5224, allocations: 4 kB / 0.9063 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004177/0.5266, allocations: 1.03 MB / 0.9073 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.5267, allocations: 7.938 kB / 0.9073 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.5282, allocations: 336.2 kB / 0.9076 GB, free: 5.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.5289, allocations: 123.8 kB / 0.9077 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.5309, allocations: 0.9309 MB / 0.9087 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.5325, allocations: 151.4 kB / 0.9088 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5326, allocations: 31.98 kB / 0.9088 GB, free: 4.434 MB / 458.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 (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.0007304/0.5333, allocations: 364.9 kB / 0.9092 GB, free: 4.066 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.5336, allocations: 110.6 kB / 0.9093 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0047/0.5383, allocations: 1.189 MB / 0.9104 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.5384, allocations: 8 kB / 0.9105 GB, free: 2.746 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.376e-06/0.5384, allocations: 0 / 0.9105 GB, free: 2.746 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.5384, allocations: 3.984 kB / 0.9105 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006775/0.5452, allocations: 2.227 MB / 0.9126 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.5453, allocations: 0 / 0.9126 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.5457, allocations: 59.91 kB / 0.9127 GB, free: 380 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.5471, allocations: 328.6 kB / 0.913 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/0.5472, allocations: 16 kB / 0.913 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.5493, allocations: 0.9732 MB / 0.914 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.5494, allocations: 7.953 kB / 0.914 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.5539, allocations: 1.239 MB / 0.9152 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007533/0.5547, allocations: 287.4 kB / 0.9155 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.5549, allocations: 12 kB / 0.9155 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.556, allocations: 99.81 kB / 0.9156 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.5562, allocations: 39.91 kB / 0.9156 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.329e-05/0.5563, allocations: 27.92 kB / 0.9156 GB, free: 13.26 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001653/0.5579, allocations: 0.7352 MB / 0.9163 GB, free: 12.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.558, allocations: 0 / 0.9163 GB, free: 12.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002079/0.5601, allocations: 0.5693 MB / 0.9169 GB, free: 11.95 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009475/0.561, allocations: 388.7 kB / 0.9173 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003857/0.5649, allocations: 1.1 MB / 0.9183 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.511e-06/0.5649, allocations: 0 / 0.9183 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.5662, allocations: 357.7 kB / 0.9187 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/0.5696, allocations: 0.5172 MB / 0.9192 GB, free: 9.605 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.5747, allocations: 2.221 MB / 0.9214 GB, free: 7.324 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/0.5757, allocations: 1.09 MB / 0.9224 GB, free: 6.207 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001626/0.5773, allocations: 230.6 kB / 0.9226 GB, free: 5.984 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.5776, allocations: 83.42 kB / 0.9227 GB, free: 5.902 MB / 474.7 MB Notification: Performance of SimCode: time 1.735e-06/0.5776, allocations: 0 / 0.9227 GB, free: 5.902 MB / 474.7 MB Notification: Performance of Templates: time 0.3606/0.9383, allocations: 23.79 MB / 0.946 GB, free: 106.9 MB / 474.7 MB