Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.726/1.726, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001691/0.001691, allocations: 167.5 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.357/1.357, allocations: 225.7 MB / 0.6743 GB, free: 12.52 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.0008354/0.0008355, allocations: 97.84 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5726, allocations: 121.3 MB / 1.041 GB, free: 58.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06701/0.6396, allocations: 60.89 MB / 1.1 GB, free: 13.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0208/0.6605, allocations: 16.65 MB / 1.117 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.6632, allocations: 51.78 kB / 1.117 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.6655, allocations: 0.5439 MB / 1.117 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008255/0.6737, allocations: 1.796 MB / 1.119 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004763/0.6785, allocations: 1.101 MB / 1.12 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007607/0.6861, allocations: 3.892 MB / 1.124 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.6885, allocations: 0.9095 MB / 1.125 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.6922, allocations: 1.154 MB / 1.126 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.6947, allocations: 0.854 MB / 1.127 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.6949, allocations: 41.88 kB / 1.127 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004067/0.699, allocations: 1.28 MB / 1.128 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.6994, allocations: 204.5 kB / 1.128 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.7006, allocations: 0.6345 MB / 1.129 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004705/0.7053, allocations: 2.193 MB / 1.131 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7053, allocations: 0 / 1.131 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7054, allocations: 0 / 1.131 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.7054, allocations: 0 / 1.131 GB, free: 8.363 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.003929/0.7093, allocations: 1.484 MB / 1.132 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.7094, allocations: 12.98 kB / 1.132 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/0.7126, allocations: 472.5 kB / 1.133 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.7159, allocations: 1.131 MB / 1.134 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005637/0.7165, allocations: 128.9 kB / 1.134 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.7167, allocations: 79.62 kB / 1.134 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.7199, allocations: 1.003 MB / 1.135 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.7199, allocations: 4.969 kB / 1.135 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.7201, allocations: 35.12 kB / 1.135 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.7201, allocations: 19.25 kB / 1.135 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003688/0.7238, allocations: 0.9146 MB / 1.136 GB, free: 5.695 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.01142/0.7352, allocations: 4.892 MB / 1.141 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005145/0.7404, allocations: 0.9017 MB / 1.142 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.7416, allocations: 323.7 kB / 1.142 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009606/0.7426, allocations: 0.9061 MB / 1.143 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.7427, allocations: 37.31 kB / 1.143 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.577e-06/0.7427, allocations: 4 kB / 1.143 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.01316/0.7558, allocations: 2.154 MB / 1.145 GB, free: 68 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.7559, allocations: 60.36 kB / 1.145 GB, free: 0 / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.7587, allocations: 1.045 MB / 1.146 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.7588, allocations: 39.02 kB / 1.146 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/0.7595, allocations: 0.5177 MB / 1.147 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.7597, allocations: 157.8 kB / 1.147 GB, free: 15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.7598, allocations: 10.22 kB / 1.147 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7599, allocations: 325.5 kB / 1.147 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.7613, allocations: 322.6 kB / 1.147 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.763, allocations: 0.5322 MB / 1.148 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.7656, allocations: 0.732 MB / 1.149 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7656, allocations: 1.188 kB / 1.149 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005586/0.7712, allocations: 1.219 MB / 1.15 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.7714, allocations: 214.7 kB / 1.15 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.7714, allocations: 9 kB / 1.15 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.7734, allocations: 331.5 kB / 1.15 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008575/0.7742, allocations: 127.7 kB / 1.151 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.7765, allocations: 0.9471 MB / 1.151 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.7787, allocations: 191 kB / 1.152 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.7789, allocations: 28.33 kB / 1.152 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.7789, allocations: 7.938 kB / 1.152 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005334/0.7843, allocations: 1.094 MB / 1.153 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.7843, allocations: 4.219 kB / 1.153 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.786, allocations: 325.5 kB / 1.153 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/0.7869, allocations: 127.1 kB / 1.153 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.7893, allocations: 0.948 MB / 1.154 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.7913, allocations: 165.4 kB / 1.154 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7914, allocations: 27.61 kB / 1.154 GB, free: 11.08 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0008434/0.7923, allocations: 354.7 kB / 1.155 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.7926, allocations: 111.2 kB / 1.155 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.7979, allocations: 1.194 MB / 1.156 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.7979, allocations: 5.453 kB / 1.156 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.7979, allocations: 4 kB / 1.156 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.7979, allocations: 6.562 kB / 1.156 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007428/0.8054, allocations: 2.259 MB / 1.158 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.8054, allocations: 0 / 1.158 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.8058, allocations: 76.03 kB / 1.158 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.8073, allocations: 315.4 kB / 1.158 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.8074, allocations: 14.16 kB / 1.158 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.8095, allocations: 0.9705 MB / 1.159 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.8095, allocations: 4.031 kB / 1.159 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.8144, allocations: 1.253 MB / 1.161 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/0.8151, allocations: 281.3 kB / 1.161 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.8154, allocations: 16.88 kB / 1.161 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.8167, allocations: 119.4 kB / 1.161 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.8168, allocations: 43.69 kB / 1.161 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/0.8169, allocations: 20.08 kB / 1.161 GB, free: 5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001879/0.8188, allocations: 0.733 MB / 1.162 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8188, allocations: 4 kB / 1.162 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002416/0.8213, allocations: 0.561 MB / 1.162 GB, free: 3.809 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.8223, allocations: 384.2 kB / 1.163 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005041/0.8274, allocations: 1.16 MB / 1.164 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8274, allocations: 0 / 1.164 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.8288, allocations: 366.5 kB / 1.164 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/0.8331, allocations: 0.5252 MB / 1.165 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008069/0.8412, allocations: 2.526 MB / 1.167 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/0.8422, allocations: 1.065 MB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001547/0.8438, allocations: 218.9 kB / 1.168 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.8441, allocations: 75.89 kB / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/0.8441, allocations: 0 / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.04522/0.8893, allocations: 24.1 MB / 1.192 GB, free: 8.082 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)