Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.533/2.533, allocations: 287.9 MB / 302.9 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002256/0.002255, allocations: 178.7 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001038, allocations: 87.52 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009593/0.0009598, allocations: 19.33 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1593, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06118/0.2205, allocations: 51.34 MB / 1.029 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.2395, allocations: 10.23 MB / 1.039 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.2414, allocations: 51.62 kB / 1.039 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.2437, allocations: 0.6219 MB / 1.04 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006827/0.2505, allocations: 1.908 MB / 1.041 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005487/0.256, allocations: 1.327 MB / 1.043 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004168/0.2602, allocations: 1.855 MB / 1.045 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.262, allocations: 0.8264 MB / 1.045 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.2645, allocations: 0.9886 MB / 1.046 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.2658, allocations: 0.6066 MB / 1.047 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.266, allocations: 44 kB / 1.047 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.2689, allocations: 0.9946 MB / 1.048 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.2692, allocations: 199.1 kB / 1.048 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.2698, allocations: 289 kB / 1.048 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.2727, allocations: 1.59 MB / 1.05 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.197e-06/0.2727, allocations: 0 / 1.05 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2727, allocations: 4 kB / 1.05 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.2728, allocations: 0 / 1.05 GB, free: 3.148 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003356/0.2761, allocations: 1.489 MB / 1.051 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2762, allocations: 12.03 kB / 1.051 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.2792, allocations: 0.5134 MB / 1.052 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.282, allocations: 1.066 MB / 1.053 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/0.2824, allocations: 129.9 kB / 1.053 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.2826, allocations: 80 kB / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.2856, allocations: 1.033 MB / 1.054 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.2856, allocations: 0 / 1.054 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.2857, allocations: 35.94 kB / 1.054 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.2858, allocations: 16 kB / 1.054 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003597/0.2894, allocations: 1.003 MB / 1.055 GB, free: 13.63 MB / 0.6823 GB 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.008779/0.2982, allocations: 4.739 MB / 1.06 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005178/0.3034, allocations: 1.139 MB / 1.061 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.3048, allocations: 1.025 MB / 1.062 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.3048, allocations: 42.98 kB / 1.062 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.937e-06/0.3049, allocations: 0 / 1.062 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01258/0.3175, allocations: 2.487 MB / 1.064 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3175, allocations: 55.84 kB / 1.064 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.3194, allocations: 0.951 MB / 1.065 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.3196, allocations: 41.7 kB / 1.065 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.3202, allocations: 0.5079 MB / 1.066 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.3204, allocations: 185.3 kB / 1.066 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.3205, allocations: 12 kB / 1.066 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3207, allocations: 326 kB / 1.066 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.3221, allocations: 376.9 kB / 1.067 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.3242, allocations: 0.5395 MB / 1.067 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.326, allocations: 402 kB / 1.068 GB, free: 108 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.3261, allocations: 4 kB / 1.068 GB, free: 104 kB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.5602/0.8863, allocations: 1.121 MB / 1.069 GB, free: 90.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000299/0.8867, allocations: 0.9694 MB / 1.07 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.8867, allocations: 3.219 kB / 1.07 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/0.8902, allocations: 326 kB / 1.07 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.8926, allocations: 145.6 kB / 1.07 GB, free: 89.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.8973, allocations: 0.9365 MB / 1.071 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.8991, allocations: 174.8 kB / 1.071 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.8993, allocations: 31.66 kB / 1.071 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.8994, allocations: 4.688 kB / 1.071 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004483/0.9039, allocations: 1.002 MB / 1.072 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9039, allocations: 3.234 kB / 1.072 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.9058, allocations: 321.9 kB / 1.073 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.9069, allocations: 142 kB / 1.073 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.9091, allocations: 0.9308 MB / 1.074 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.9106, allocations: 179.9 kB / 1.074 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.9108, allocations: 28.56 kB / 1.074 GB, free: 88.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0006634/0.9114, allocations: 353.8 kB / 1.074 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.9117, allocations: 107.1 kB / 1.074 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/0.9176, allocations: 1.442 MB / 1.076 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.9177, allocations: 6.641 kB / 1.076 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9177, allocations: 0.5625 kB / 1.076 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.9177, allocations: 3.688 kB / 1.076 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007935/0.9257, allocations: 2.542 MB / 1.078 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.9257, allocations: 4.688 kB / 1.078 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.9265, allocations: 113.8 kB / 1.078 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.9279, allocations: 320.9 kB / 1.079 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.928, allocations: 20.5 kB / 1.079 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.9299, allocations: 0.9698 MB / 1.08 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.6e-06/0.9299, allocations: 7.391 kB / 1.08 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.9356, allocations: 1.525 MB / 1.081 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/0.9364, allocations: 294 kB / 1.081 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.9366, allocations: 13.64 kB / 1.081 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.9379, allocations: 128.6 kB / 1.081 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.938, allocations: 35.2 kB / 1.081 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.9381, allocations: 29.91 kB / 1.081 GB, free: 84.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001318/0.9395, allocations: 0.6658 MB / 1.082 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.04e-07/0.9395, allocations: 0 / 1.082 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002026/0.9415, allocations: 0.5777 MB / 1.083 GB, free: 84.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009046/0.9424, allocations: 383.3 kB / 1.083 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00496/0.9474, allocations: 1.382 MB / 1.084 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.601e-06/0.9475, allocations: 1.344 kB / 1.084 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.9492, allocations: 496.3 kB / 1.085 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.9522, allocations: 0.5075 MB / 1.085 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.9573, allocations: 2.322 MB / 1.088 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.9581, allocations: 1.092 MB / 1.089 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00178/0.9599, allocations: 231.2 kB / 1.089 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.9602, allocations: 81.75 kB / 1.089 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of SimCode: time 1.819e-06/0.9603, allocations: 0 / 1.089 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of Templates: time 0.05434/1.015, allocations: 23.52 MB / 1.112 GB, free: 71.79 MB / 0.6823 GB