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.001427/0.001431, allocations: 186.9 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7991/0.7991, allocations: 82.94 MB / 99.43 MB, free: 2.23 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 325.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 95.53 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004836, allocations: 12 kB / 471.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3863, allocations: 67.43 MB / 0.5263 GB, free: 55.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0587/0.4451, allocations: 51.25 MB / 0.5764 GB, free: 15.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02066/0.4658, allocations: 10.23 MB / 0.5864 GB, free: 5.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.468, allocations: 47.69 kB / 0.5864 GB, free: 5.223 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.4705, allocations: 0.6219 MB / 0.587 GB, free: 4.598 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006602/0.4772, allocations: 1.907 MB / 0.5889 GB, free: 2.688 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004813/0.482, allocations: 1.318 MB / 0.5902 GB, free: 1.395 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003774/0.4858, allocations: 1.843 MB / 0.592 GB, free: 15.55 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.4876, allocations: 0.8057 MB / 0.5928 GB, free: 14.72 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.4904, allocations: 0.9925 MB / 0.5937 GB, free: 13.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.4917, allocations: 0.5988 MB / 0.5943 GB, free: 13.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.4919, allocations: 40 kB / 0.5944 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.4953, allocations: 0.9946 MB / 0.5953 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.4958, allocations: 203.1 kB / 0.5955 GB, free: 11.89 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005889/0.4964, allocations: 285 kB / 0.5958 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.4999, allocations: 1.582 MB / 0.5973 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.926e-06/0.4999, allocations: 0 / 0.5973 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.832e-06/0.4999, allocations: 0 / 0.5973 GB, free: 10.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.652e-05/0.5, allocations: 0 / 0.5973 GB, free: 10.02 MB / 426.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.003678/0.5037, allocations: 1.497 MB / 0.5988 GB, free: 8.465 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5037, allocations: 8.031 kB / 0.5988 GB, free: 8.457 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.507, allocations: 465.9 kB / 0.5992 GB, free: 8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/0.5129, allocations: 1.062 MB / 0.6003 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000961/0.5139, allocations: 125.9 kB / 0.6004 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.5143, allocations: 87.95 kB / 0.6005 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006203/0.5205, allocations: 0.9956 MB / 0.6015 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/0.5206, allocations: 0 / 0.6015 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.5209, allocations: 32 kB / 0.6015 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.521, allocations: 20 kB / 0.6015 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007322/0.5283, allocations: 0.925 MB / 0.6024 GB, free: 4.664 MB / 426.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.02749/0.5559, allocations: 4.649 MB / 0.607 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03022/0.5862, allocations: 0.9465 MB / 0.6079 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/0.588, allocations: 0.899 MB / 0.6088 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.818e-05/0.5881, allocations: 46.95 kB / 0.6088 GB, free: 13.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 7.331e-06/0.5881, allocations: 7.875 kB / 0.6088 GB, free: 13.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=47): time 0.02165/0.6098, allocations: 1.999 MB / 0.6108 GB, free: 11.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.61, allocations: 55.84 kB / 0.6108 GB, free: 11.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005086/0.6151, allocations: 1.071 MB / 0.6119 GB, free: 10.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.6154, allocations: 37.7 kB / 0.6119 GB, free: 10.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.6167, allocations: 0.5196 MB / 0.6124 GB, free: 9.836 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.6171, allocations: 165.7 kB / 0.6126 GB, free: 9.672 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.6173, allocations: 8 kB / 0.6126 GB, free: 9.664 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003201/0.6177, allocations: 329.9 kB / 0.6129 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/0.6205, allocations: 336.8 kB / 0.6132 GB, free: 9.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.6226, allocations: 0.529 MB / 0.6137 GB, free: 8.395 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.624, allocations: 376.5 kB / 0.6141 GB, free: 8.023 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.109e-06/0.6241, allocations: 0 / 0.6141 GB, free: 8.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005121/0.6292, allocations: 1.225 MB / 0.6153 GB, free: 6.789 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008772/0.6301, allocations: 1.494 MB / 0.6167 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6301, allocations: 4 kB / 0.6167 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.6319, allocations: 337.3 kB / 0.6171 GB, free: 4.848 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.6328, allocations: 131.8 kB / 0.6172 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.6349, allocations: 0.9478 MB / 0.6181 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.6368, allocations: 191.2 kB / 0.6183 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.637, allocations: 27.98 kB / 0.6183 GB, free: 3.531 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.637, allocations: 4 kB / 0.6183 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004709/0.6417, allocations: 1.092 MB / 0.6194 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.6418, allocations: 4 kB / 0.6194 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.6433, allocations: 324.9 kB / 0.6197 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/0.6442, allocations: 139.8 kB / 0.6198 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.6462, allocations: 0.9296 MB / 0.6207 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.6479, allocations: 172.1 kB / 0.6209 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.6481, allocations: 35.98 kB / 0.6209 GB, free: 0.8164 MB / 442.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.0007683/0.6489, allocations: 360.9 kB / 0.6213 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.6492, allocations: 114.6 kB / 0.6214 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/0.6544, allocations: 1.237 MB / 0.6226 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.6544, allocations: 11.98 kB / 0.6226 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.258e-06/0.6544, allocations: 0 / 0.6226 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.6545, allocations: 3.953 kB / 0.6226 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007314/0.6618, allocations: 2.325 MB / 0.6249 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.6619, allocations: 4.281 kB / 0.6249 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.6623, allocations: 79.88 kB / 0.625 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.6638, allocations: 322.5 kB / 0.6253 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/0.6639, allocations: 8 kB / 0.6253 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.666, allocations: 0.9804 MB / 0.6262 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.446e-06/0.6661, allocations: 7.938 kB / 0.6263 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00642/0.6725, allocations: 1.568 MB / 0.6278 GB, free: 9.574 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008082/0.6734, allocations: 295.4 kB / 0.6281 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.6736, allocations: 12 kB / 0.6281 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.6748, allocations: 115.8 kB / 0.6282 GB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6749, allocations: 39.89 kB / 0.6282 GB, free: 9.102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/0.675, allocations: 31.92 kB / 0.6283 GB, free: 9.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001678/0.6767, allocations: 0.7469 MB / 0.629 GB, free: 8.316 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.6767, allocations: 4 kB / 0.629 GB, free: 8.312 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002128/0.6789, allocations: 0.5692 MB / 0.6295 GB, free: 7.742 MB / 458.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.000967/0.6799, allocations: 382.6 kB / 0.6299 GB, free: 7.367 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.6844, allocations: 1.21 MB / 0.6311 GB, free: 6.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/0.6845, allocations: 3.938 kB / 0.6311 GB, free: 6.156 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.6859, allocations: 387 kB / 0.6315 GB, free: 5.777 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.689, allocations: 0.4983 MB / 0.632 GB, free: 5.281 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/0.6965, allocations: 2.509 MB / 0.6344 GB, free: 2.711 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009895/0.6975, allocations: 1.086 MB / 0.6355 GB, free: 1.598 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001502/0.699, allocations: 228.8 kB / 0.6357 GB, free: 1.371 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.6993, allocations: 83.41 kB / 0.6358 GB, free: 1.289 MB / 458.7 MB Notification: Performance of SimCode: time 1.597e-06/0.6993, allocations: 0 / 0.6358 GB, free: 1.289 MB / 458.7 MB Notification: Performance of Templates: time 0.06031/0.7597, allocations: 23.89 MB / 0.6591 GB, free: 9.57 MB / 490.7 MB