Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.653/1.653, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009771/0.0009771, allocations: 187 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007659/0.0007656, allocations: 99.98 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 8.812 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5371, allocations: 121.3 MB / 1.041 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04338/0.5806, allocations: 60.93 MB / 1.1 GB, free: 12.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.5954, allocations: 16.65 MB / 1.117 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.5979, allocations: 52.41 kB / 1.117 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.6002, allocations: 0.5406 MB / 1.117 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.6057, allocations: 1.805 MB / 1.119 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.6088, allocations: 1.088 MB / 1.12 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00556/0.6144, allocations: 3.911 MB / 1.124 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.6161, allocations: 0.9005 MB / 1.125 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.6192, allocations: 1.154 MB / 1.126 GB, free: 10 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.6216, allocations: 0.8493 MB / 1.127 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.622, allocations: 42.53 kB / 1.127 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.6259, allocations: 1.3 MB / 1.128 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.6264, allocations: 203.1 kB / 1.128 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.6281, allocations: 0.6367 MB / 1.129 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004929/0.6331, allocations: 2.207 MB / 1.131 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.6331, allocations: 0 / 1.131 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6331, allocations: 0 / 1.131 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.414e-05/0.6332, allocations: 1.688 kB / 1.131 GB, free: 8.051 MB / 0.7136 GB 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.00436/0.6376, allocations: 1.497 MB / 1.132 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.6376, allocations: 11.95 kB / 1.132 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.6396, allocations: 388.6 kB / 1.133 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.6427, allocations: 1.122 MB / 1.134 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/0.6431, allocations: 133 kB / 1.134 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.6433, allocations: 84.28 kB / 1.134 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.6454, allocations: 0.9594 MB / 1.135 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.6455, allocations: 5.531 kB / 1.135 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.6456, allocations: 31.88 kB / 1.135 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.6456, allocations: 18.09 kB / 1.135 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.6478, allocations: 0.8458 MB / 1.136 GB, free: 5.406 MB / 0.7136 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.007058/0.6549, allocations: 4.815 MB / 1.141 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.6566, allocations: 0.5998 MB / 1.141 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/0.6573, allocations: 282 kB / 1.141 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.6587, allocations: 1.388 MB / 1.143 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.6588, allocations: 40.69 kB / 1.143 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 3.547e-06/0.6588, allocations: 1.219 kB / 1.143 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.008709/0.6675, allocations: 2.052 MB / 1.145 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.6676, allocations: 55.91 kB / 1.145 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.6697, allocations: 1.043 MB / 1.146 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.6699, allocations: 37.59 kB / 1.146 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.6704, allocations: 0.5262 MB / 1.147 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.6705, allocations: 150.6 kB / 1.147 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.6706, allocations: 9.875 kB / 1.147 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6707, allocations: 326.9 kB / 1.147 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/0.6715, allocations: 284.3 kB / 1.147 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.6726, allocations: 0.4989 MB / 1.148 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.6742, allocations: 0.6543 MB / 1.148 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.6742, allocations: 1.031 kB / 1.148 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003943/0.6782, allocations: 1.158 MB / 1.149 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.6784, allocations: 203.2 kB / 1.15 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.6784, allocations: 7.812 kB / 1.15 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.6797, allocations: 330.4 kB / 1.15 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.6802, allocations: 108.4 kB / 1.15 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.682, allocations: 0.9465 MB / 1.151 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.6837, allocations: 184.4 kB / 1.151 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.6838, allocations: 27.86 kB / 1.151 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.6839, allocations: 3.344 kB / 1.151 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003362/0.6872, allocations: 1.009 MB / 1.152 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.6873, allocations: 3.531 kB / 1.152 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.6885, allocations: 321.3 kB / 1.153 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.689, allocations: 121.4 kB / 1.153 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.6906, allocations: 0.9385 MB / 1.154 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.6922, allocations: 154.5 kB / 1.154 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.6923, allocations: 27.92 kB / 1.154 GB, free: 10.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0008708/0.6932, allocations: 352.3 kB / 1.154 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/0.6936, allocations: 111.6 kB / 1.154 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.6978, allocations: 1.155 MB / 1.155 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.6978, allocations: 4.656 kB / 1.155 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.6978, allocations: 0.7031 kB / 1.155 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.6978, allocations: 2.203 kB / 1.155 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006068/0.7039, allocations: 2.164 MB / 1.157 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.704, allocations: 4 kB / 1.157 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.7042, allocations: 51.58 kB / 1.157 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.7054, allocations: 331.1 kB / 1.158 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.7054, allocations: 17.97 kB / 1.158 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.707, allocations: 0.9794 MB / 1.159 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.707, allocations: 4 kB / 1.159 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.7108, allocations: 1.189 MB / 1.16 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007506/0.7116, allocations: 279.9 kB / 1.16 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.7119, allocations: 13.08 kB / 1.16 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7129, allocations: 100.5 kB / 1.16 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.7131, allocations: 39.38 kB / 1.16 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/0.7131, allocations: 27.78 kB / 1.16 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001462/0.7146, allocations: 0.7336 MB / 1.161 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7146, allocations: 0 / 1.161 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002018/0.7166, allocations: 0.5688 MB / 1.162 GB, free: 4.086 MB / 0.7292 GB 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.7177, allocations: 413 kB / 1.162 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003039/0.7207, allocations: 1.034 MB / 1.163 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7207, allocations: 0 / 1.163 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008383/0.7216, allocations: 343.2 kB / 1.163 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/0.7247, allocations: 0.5102 MB / 1.164 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.7286, allocations: 2.258 MB / 1.166 GB, free: 8 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.7294, allocations: 1.061 MB / 1.167 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001112/0.7305, allocations: 218.8 kB / 1.167 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.7308, allocations: 79.47 kB / 1.167 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.7308, allocations: 0 / 1.167 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of Templates: time 0.04324/0.774, allocations: 24.32 MB / 1.191 GB, free: 9.004 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)