Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 297.4 MB / 312.6 MB, free: 2.957 MB / 234.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.001088/0.001088, allocations: 186 kB / 382.3 MB, free: 14.83 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.459/1.459, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008152/0.0008151, allocations: 93.3 kB / 0.7789 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 8 kB / 0.9058 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5988/0.5992, allocations: 119.2 MB / 1.022 GB, free: 57.74 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04407/0.6433, allocations: 60.93 MB / 1.082 GB, free: 12.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.6579, allocations: 16.57 MB / 1.098 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.6603, allocations: 54.22 kB / 1.098 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.6623, allocations: 0.5411 MB / 1.099 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005943/0.6683, allocations: 1.787 MB / 1.1 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.6714, allocations: 1.088 MB / 1.101 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004636/0.6761, allocations: 3.881 MB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.6777, allocations: 0.9002 MB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.6805, allocations: 1.16 MB / 1.107 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.6824, allocations: 0.8493 MB / 1.108 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.6825, allocations: 48.41 kB / 1.108 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.6854, allocations: 1.306 MB / 1.109 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.6857, allocations: 210.8 kB / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.6865, allocations: 0.6346 MB / 1.11 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.6896, allocations: 2.224 MB / 1.112 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6896, allocations: 0 / 1.112 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6896, allocations: 0 / 1.112 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.6897, allocations: 0 / 1.112 GB, free: 8.145 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.002705/0.6924, allocations: 1.495 MB / 1.114 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6924, allocations: 13.53 kB / 1.114 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.6939, allocations: 390.1 kB / 1.114 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.6958, allocations: 1.124 MB / 1.115 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.6962, allocations: 134.1 kB / 1.115 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.6963, allocations: 77.91 kB / 1.115 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.698, allocations: 0.9667 MB / 1.116 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.698, allocations: 3.938 kB / 1.116 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.36e-05/0.6981, allocations: 34.47 kB / 1.116 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.6981, allocations: 19.72 kB / 1.116 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.7, allocations: 0.8591 MB / 1.117 GB, free: 5.512 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.005746/0.7058, allocations: 4.523 MB / 1.122 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.7074, allocations: 0.6331 MB / 1.122 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/0.7081, allocations: 302.9 kB / 1.123 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.7094, allocations: 1.396 MB / 1.124 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.7095, allocations: 37.88 kB / 1.124 GB, free: 356 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.7095, allocations: 0 / 1.124 GB, free: 356 kB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.00758/0.7171, allocations: 1.906 MB / 1.126 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.7172, allocations: 60.64 kB / 1.126 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.7191, allocations: 1.05 MB / 1.127 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/0.7192, allocations: 43.39 kB / 1.127 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.7196, allocations: 0.5202 MB / 1.127 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.7198, allocations: 162.3 kB / 1.128 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.7198, allocations: 10.53 kB / 1.128 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.72, allocations: 329.2 kB / 1.128 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007973/0.7208, allocations: 296.5 kB / 1.128 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/0.7218, allocations: 0.489 MB / 1.129 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.7232, allocations: 0.6737 MB / 1.129 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.7232, allocations: 1.219 kB / 1.129 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003555/0.7267, allocations: 1.18 MB / 1.131 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.7269, allocations: 195 kB / 1.131 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.7269, allocations: 4.031 kB / 1.131 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.7282, allocations: 334.7 kB / 1.131 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.7288, allocations: 128.2 kB / 1.131 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.7304, allocations: 0.9383 MB / 1.132 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.7319, allocations: 177.8 kB / 1.132 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.7321, allocations: 33.59 kB / 1.132 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.7321, allocations: 3.031 kB / 1.132 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003136/0.7352, allocations: 1.037 MB / 1.133 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7353, allocations: 3.188 kB / 1.133 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.7364, allocations: 317.8 kB / 1.134 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.7369, allocations: 126.9 kB / 1.134 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.7384, allocations: 0.9289 MB / 1.135 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.7398, allocations: 171.1 kB / 1.135 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.7399, allocations: 32.72 kB / 1.135 GB, free: 11.14 MB / 0.7292 GB 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 (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.0007752/0.7407, allocations: 345.6 kB / 1.135 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/0.741, allocations: 108 kB / 1.135 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.745, allocations: 1.197 MB / 1.136 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.745, allocations: 9.125 kB / 1.136 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.745, allocations: 4 kB / 1.136 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.745, allocations: 4.469 kB / 1.136 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/0.7503, allocations: 2.211 MB / 1.139 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7503, allocations: 6.438 kB / 1.139 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.7506, allocations: 62.91 kB / 1.139 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.7516, allocations: 329.9 kB / 1.139 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.7517, allocations: 16.88 kB / 1.139 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.7532, allocations: 0.9709 MB / 1.14 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7532, allocations: 2.844 kB / 1.14 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.7567, allocations: 1.238 MB / 1.141 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006384/0.7574, allocations: 287.9 kB / 1.141 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.7577, allocations: 12.62 kB / 1.141 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/0.7586, allocations: 103.4 kB / 1.142 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.7587, allocations: 38.67 kB / 1.142 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.7588, allocations: 23.66 kB / 1.142 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001444/0.7602, allocations: 0.7365 MB / 1.142 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7603, allocations: 0 / 1.142 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001895/0.7622, allocations: 0.5723 MB / 1.143 GB, free: 7.418 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 (37): * Single equations (assignments): 32 * 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.0009284/0.7631, allocations: 417.3 kB / 1.143 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003062/0.7662, allocations: 1.103 MB / 1.144 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7662, allocations: 5.438 kB / 1.144 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008549/0.767, allocations: 353 kB / 1.145 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.7702, allocations: 0.5306 MB / 1.145 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.7744, allocations: 2.261 MB / 1.147 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/0.7751, allocations: 1.067 MB / 1.148 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001178/0.7763, allocations: 227.6 kB / 1.149 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.7766, allocations: 78.16 kB / 1.149 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of SimCode: time 9.22e-07/0.7766, allocations: 1.281 kB / 1.149 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of Templates: time 0.04591/0.8225, allocations: 24.76 MB / 1.173 GB, free: 4.977 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)