Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.371/2.371, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.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.00139/0.00139, allocations: 188.3 kB / 329.5 MB, free: 1.148 MB / 250.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 2.745/2.745, allocations: 225.6 MB / 0.6001 GB, free: 2.219 MB / 426.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.001054/0.001054, allocations: 98.17 kB / 0.7074 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006936/0.0006939, allocations: 11.72 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2212, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.08647/0.3077, allocations: 56.49 MB / 0.9859 GB, free: 464 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.3315, allocations: 11.1 MB / 0.9968 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.3339, allocations: 51.62 kB / 0.9968 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.3366, allocations: 472.9 kB / 0.9973 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006995/0.3436, allocations: 1.508 MB / 0.9987 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.348, allocations: 0.873 MB / 0.9996 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006543/0.3546, allocations: 3.418 MB / 1.003 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.357, allocations: 0.8446 MB / 1.004 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.3608, allocations: 1.034 MB / 1.005 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.3633, allocations: 0.8127 MB / 1.006 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000439/0.3637, allocations: 44 kB / 1.006 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.3678, allocations: 1.08 MB / 1.007 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005693/0.3684, allocations: 203 kB / 1.007 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006932/0.3691, allocations: 289 kB / 1.007 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.373, allocations: 1.629 MB / 1.009 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3731, allocations: 0 / 1.009 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3731, allocations: 0 / 1.009 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.513e-05/0.3731, allocations: 0 / 1.009 GB, free: 9.031 MB / 0.6511 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.004716/0.3779, allocations: 1.505 MB / 1.01 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/0.378, allocations: 8.031 kB / 1.01 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.3821, allocations: 466.9 kB / 1.011 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/0.3858, allocations: 1.098 MB / 1.012 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007292/0.3866, allocations: 133.9 kB / 1.012 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.3869, allocations: 80 kB / 1.012 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/0.3906, allocations: 0.9995 MB / 1.013 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.3907, allocations: 7.938 kB / 1.013 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.3908, allocations: 28 kB / 1.013 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.3909, allocations: 24 kB / 1.013 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005731/0.3966, allocations: 0.929 MB / 1.014 GB, free: 3.613 MB / 0.6511 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.6651/1.062, allocations: 4.637 MB / 1.018 GB, free: 86.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008446/1.07, allocations: 0.9365 MB / 1.019 GB, free: 86.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/1.072, allocations: 336 kB / 1.02 GB, free: 86.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/1.073, allocations: 0.9095 MB / 1.02 GB, free: 85.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.073, allocations: 42.31 kB / 1.021 GB, free: 85.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 3.136e-06/1.073, allocations: 0 / 1.021 GB, free: 85.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.01551/1.088, allocations: 2.004 MB / 1.022 GB, free: 85.28 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/1.088, allocations: 57.83 kB / 1.023 GB, free: 85.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/1.091, allocations: 1.049 MB / 1.024 GB, free: 84.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/1.091, allocations: 41.64 kB / 1.024 GB, free: 84.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000567/1.092, allocations: 0.522 MB / 1.024 GB, free: 84.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/1.092, allocations: 164.5 kB / 1.024 GB, free: 84.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/1.092, allocations: 10.06 kB / 1.024 GB, free: 84.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/1.092, allocations: 334.7 kB / 1.025 GB, free: 83.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/1.094, allocations: 332.9 kB / 1.025 GB, free: 83.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/1.096, allocations: 0.5353 MB / 1.025 GB, free: 83.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/1.098, allocations: 369.5 kB / 1.026 GB, free: 83.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.098, allocations: 0.8125 kB / 1.026 GB, free: 83.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.006771/1.104, allocations: 1.232 MB / 1.027 GB, free: 83.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.105, allocations: 200.2 kB / 1.027 GB, free: 82.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.105, allocations: 3.5 kB / 1.027 GB, free: 82.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/1.107, allocations: 329.8 kB / 1.028 GB, free: 82.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.108, allocations: 138.9 kB / 1.028 GB, free: 82.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/1.11, allocations: 0.9415 MB / 1.029 GB, free: 82.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/1.113, allocations: 191.4 kB / 1.029 GB, free: 82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.113, allocations: 32.33 kB / 1.029 GB, free: 82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.113, allocations: 7.219 kB / 1.029 GB, free: 82 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005961/1.119, allocations: 1.09 MB / 1.03 GB, free: 81.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.119, allocations: 5.5 kB / 1.03 GB, free: 81.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/1.121, allocations: 335.3 kB / 1.03 GB, free: 81.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.122, allocations: 135.4 kB / 1.03 GB, free: 81.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/1.124, allocations: 0.9245 MB / 1.031 GB, free: 80.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/1.127, allocations: 176.9 kB / 1.031 GB, free: 80.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.127, allocations: 31.86 kB / 1.031 GB, free: 80.88 MB / 0.6511 GB 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.0006972/1.127, allocations: 355.1 kB / 1.032 GB, free: 80.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/1.128, allocations: 112.6 kB / 1.032 GB, free: 80.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006861/1.134, allocations: 1.24 MB / 1.033 GB, free: 80.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/1.135, allocations: 7.422 kB / 1.033 GB, free: 80.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.135, allocations: 4.5 kB / 1.033 GB, free: 80.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.135, allocations: 2.672 kB / 1.033 GB, free: 80.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009306/1.144, allocations: 2.326 MB / 1.035 GB, free: 79.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/1.144, allocations: 2.625 kB / 1.035 GB, free: 79.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/1.145, allocations: 73.11 kB / 1.035 GB, free: 79.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/1.147, allocations: 325.1 kB / 1.036 GB, free: 79.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.147, allocations: 17.83 kB / 1.036 GB, free: 79.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/1.149, allocations: 0.9673 MB / 1.037 GB, free: 78.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.149, allocations: 1.438 kB / 1.037 GB, free: 78.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008429/1.158, allocations: 1.457 MB / 1.038 GB, free: 77.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009278/1.159, allocations: 284.4 kB / 1.038 GB, free: 77.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/1.159, allocations: 18.05 kB / 1.038 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.161, allocations: 110.6 kB / 1.039 GB, free: 77.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.161, allocations: 41.39 kB / 1.039 GB, free: 77.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.161, allocations: 24.31 kB / 1.039 GB, free: 77.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001995/1.163, allocations: 0.7356 MB / 1.039 GB, free: 77.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.163, allocations: 0 / 1.039 GB, free: 77.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002496/1.166, allocations: 0.5529 MB / 1.04 GB, free: 77.12 MB / 0.6511 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 (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.001088/1.167, allocations: 370.5 kB / 1.04 GB, free: 76.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006132/1.173, allocations: 1.213 MB / 1.041 GB, free: 76.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.173, allocations: 0 / 1.041 GB, free: 76.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/1.175, allocations: 391.1 kB / 1.042 GB, free: 76.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00488/1.18, allocations: 0.5295 MB / 1.042 GB, free: 76.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/1.189, allocations: 2.502 MB / 1.045 GB, free: 75.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/1.19, allocations: 1.064 MB / 1.046 GB, free: 74.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001905/1.192, allocations: 226.7 kB / 1.046 GB, free: 74.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.192, allocations: 76.28 kB / 1.046 GB, free: 74.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/1.192, allocations: 5.438 kB / 1.046 GB, free: 74.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.108/1.3, allocations: 23.54 MB / 1.069 GB, free: 60.37 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)