Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.888/1.888, allocations: 291.7 MB / 306.8 MB, free: 7.703 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.001119/0.001119, allocations: 184.4 kB / 375.4 MB, free: 5.125 MB / 298.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.591/1.591, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008664/0.0008664, allocations: 100.1 kB / 0.7699 GB, free: 50.47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 12.64 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.6715, allocations: 118.1 MB / 1.011 GB, free: 58.28 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05749/0.729, allocations: 65.12 MB / 1.074 GB, free: 19.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02168/0.7508, allocations: 17.59 MB / 1.092 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.7539, allocations: 62.41 kB / 1.092 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.7563, allocations: 0.5208 MB / 1.092 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007955/0.7643, allocations: 2.091 MB / 1.094 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.7683, allocations: 1.104 MB / 1.095 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006115/0.7745, allocations: 4.407 MB / 1.1 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.7766, allocations: 1.133 MB / 1.101 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.7801, allocations: 1.342 MB / 1.102 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.7823, allocations: 1.046 MB / 1.103 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.7825, allocations: 58.38 kB / 1.103 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.7854, allocations: 0.9089 MB / 1.104 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.7857, allocations: 247.6 kB / 1.104 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006852/0.7864, allocations: 373.3 kB / 1.105 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.7892, allocations: 2.305 MB / 1.107 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.7893, allocations: 4 kB / 1.107 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7893, allocations: 0 / 1.107 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.184e-05/0.7893, allocations: 6.875 kB / 1.107 GB, free: 0.6602 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003109/0.7924, allocations: 1.704 MB / 1.109 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.7925, allocations: 9.594 kB / 1.109 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.7947, allocations: 0.5048 MB / 1.109 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.7975, allocations: 1.529 MB / 1.111 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/0.7979, allocations: 143.1 kB / 1.111 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.798, allocations: 106.3 kB / 1.111 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.8007, allocations: 1.311 MB / 1.112 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.8007, allocations: 3.938 kB / 1.112 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.8008, allocations: 45.44 kB / 1.112 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.8009, allocations: 29.78 kB / 1.112 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.8036, allocations: 1.167 MB / 1.113 GB, free: 13.26 MB / 0.7292 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.00901/0.8126, allocations: 6.9 MB / 1.12 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.8157, allocations: 0.9316 MB / 1.121 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.8164, allocations: 313.6 kB / 1.121 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/0.8178, allocations: 1.725 MB / 1.123 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.8178, allocations: 42.03 kB / 1.123 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 3.025e-06/0.8178, allocations: 0 / 1.123 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.004793/0.8226, allocations: 1.497 MB / 1.124 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.8227, allocations: 58 kB / 1.124 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.8251, allocations: 1.522 MB / 1.126 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.455e-05/0.8252, allocations: 39.61 kB / 1.126 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/0.8257, allocations: 0.658 MB / 1.127 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.8259, allocations: 190.2 kB / 1.127 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.8259, allocations: 11.16 kB / 1.127 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8261, allocations: 334.5 kB / 1.127 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009607/0.8271, allocations: 398.5 kB / 1.128 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.8282, allocations: 0.6747 MB / 1.128 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.83, allocations: 0.9123 MB / 1.129 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.83, allocations: 3.219 kB / 1.129 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002958/0.8329, allocations: 1.249 MB / 1.13 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.833, allocations: 10.84 kB / 1.13 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.833, allocations: 9 kB / 1.13 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000883/0.8339, allocations: 230.2 kB / 1.131 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.8347, allocations: 201.4 kB / 1.131 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008521/0.8355, allocations: 0.732 MB / 1.131 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.8373, allocations: 264.2 kB / 1.132 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.8374, allocations: 46.39 kB / 1.132 GB, free: 0.9805 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006642/0.8381, allocations: 358.5 kB / 1.132 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.8383, allocations: 145.3 kB / 1.132 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.8407, allocations: 1.216 MB / 1.133 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.8407, allocations: 10.19 kB / 1.133 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8407, allocations: 5.031 kB / 1.133 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.8407, allocations: 4.828 kB / 1.133 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.8458, allocations: 2.652 MB / 1.136 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.8459, allocations: 3.219 kB / 1.136 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.8463, allocations: 97 kB / 1.136 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007501/0.847, allocations: 223.2 kB / 1.136 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.8471, allocations: 23.69 kB / 1.136 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.8484, allocations: 0.8025 MB / 1.137 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8484, allocations: 6.375 kB / 1.137 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.852, allocations: 1.313 MB / 1.138 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008075/0.8528, allocations: 382 kB / 1.139 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.853, allocations: 26.56 kB / 1.139 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009513/0.854, allocations: 101.2 kB / 1.139 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.8541, allocations: 49.53 kB / 1.139 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.8542, allocations: 26.33 kB / 1.139 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001971/0.8561, allocations: 1.073 MB / 1.14 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8562, allocations: 1.094 kB / 1.14 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001414/0.8576, allocations: 437.3 kB / 1.14 GB, free: 12.83 MB / 0.7448 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008555/0.8584, allocations: 468.3 kB / 1.141 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002324/0.8608, allocations: 0.9004 MB / 1.142 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.8608, allocations: 1.188 kB / 1.142 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.8621, allocations: 497.5 kB / 1.142 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/0.8661, allocations: 0.7294 MB / 1.143 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.8711, allocations: 2.72 MB / 1.146 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.8724, allocations: 1.175 MB / 1.147 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002201/0.8746, allocations: 271.2 kB / 1.147 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.8751, allocations: 119.7 kB / 1.147 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.8751, allocations: 1.188 kB / 1.147 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of Templates: time 0.07703/0.9522, allocations: 30.34 MB / 1.177 GB, free: 124 kB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)