Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") 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.94/1.94, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.001081/0.001081, allocations: 186 kB / 382.3 MB, free: 14.8 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.438/1.438, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.000815/0.000815, allocations: 91.27 kB / 0.7789 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 12.48 kB / 0.9058 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7047, allocations: 119.2 MB / 1.022 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05716/0.7619, allocations: 70.22 MB / 1.091 GB, free: 6.074 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.7903, allocations: 25.37 MB / 1.116 GB, free: 264 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003368/0.7938, allocations: 65 kB / 1.116 GB, free: 236 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.7966, allocations: 0.648 MB / 1.116 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.009718/0.8064, allocations: 2.59 MB / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005346/0.8117, allocations: 1.51 MB / 1.12 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007741/0.8195, allocations: 4.991 MB / 1.125 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.8217, allocations: 1.138 MB / 1.126 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.8262, allocations: 1.505 MB / 1.128 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.8289, allocations: 1.1 MB / 1.129 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.8291, allocations: 58.94 kB / 1.129 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003977/0.8331, allocations: 1.174 MB / 1.13 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.8335, allocations: 260.2 kB / 1.13 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.8348, allocations: 0.8039 MB / 1.131 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005639/0.8405, allocations: 2.977 MB / 1.134 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.8405, allocations: 3.938 kB / 1.134 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8405, allocations: 0 / 1.134 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.832e-05/0.8405, allocations: 0 / 1.134 GB, free: 7.859 MB / 0.7292 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.004571/0.8451, allocations: 1.717 MB / 1.136 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.8452, allocations: 8.875 kB / 1.136 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.8476, allocations: 0.5003 MB / 1.136 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.8506, allocations: 1.513 MB / 1.138 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.851, allocations: 153.5 kB / 1.138 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.8512, allocations: 103.8 kB / 1.138 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.8543, allocations: 1.311 MB / 1.139 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.8543, allocations: 6 kB / 1.139 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.8544, allocations: 42.09 kB / 1.139 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.8545, allocations: 29.75 kB / 1.139 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.8575, allocations: 1.164 MB / 1.14 GB, free: 4.453 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.01024/0.8678, allocations: 6.914 MB / 1.147 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.871, allocations: 0.932 MB / 1.148 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006844/0.8717, allocations: 321.9 kB / 1.148 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.8732, allocations: 1.726 MB / 1.15 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.8732, allocations: 41.81 kB / 1.15 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=52): time 3.125e-06/0.8733, allocations: 0 / 1.15 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=52): time 0.005344/0.8786, allocations: 1.486 MB / 1.152 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.8787, allocations: 57.25 kB / 1.152 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.8816, allocations: 1.528 MB / 1.153 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.8818, allocations: 38.89 kB / 1.153 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/0.8824, allocations: 0.6614 MB / 1.154 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.8826, allocations: 181.9 kB / 1.154 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.8827, allocations: 14.97 kB / 1.154 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8828, allocations: 330.7 kB / 1.154 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.8839, allocations: 404.5 kB / 1.155 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.8852, allocations: 0.6749 MB / 1.155 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.8871, allocations: 0.9138 MB / 1.156 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.8871, allocations: 1.969 kB / 1.156 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00353/0.8906, allocations: 1.252 MB / 1.157 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.8907, allocations: 7.75 kB / 1.157 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.8907, allocations: 6.719 kB / 1.157 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.8917, allocations: 230.1 kB / 1.158 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.8926, allocations: 204.5 kB / 1.158 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009311/0.8935, allocations: 0.7247 MB / 1.159 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.8957, allocations: 266.5 kB / 1.159 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.8959, allocations: 39.45 kB / 1.159 GB, free: 8.133 MB / 0.7448 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 (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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008703/0.8968, allocations: 358.2 kB / 1.159 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.897, allocations: 149.4 kB / 1.159 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.9002, allocations: 1.218 MB / 1.161 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.9003, allocations: 7.844 kB / 1.161 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.9003, allocations: 5.672 kB / 1.161 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.9003, allocations: 3 kB / 1.161 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/0.907, allocations: 2.658 MB / 1.163 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.907, allocations: 10.77 kB / 1.163 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.9075, allocations: 101.5 kB / 1.163 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008859/0.9084, allocations: 223.4 kB / 1.163 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.9084, allocations: 17.2 kB / 1.163 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.9097, allocations: 0.7973 MB / 1.164 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.9098, allocations: 6.75 kB / 1.164 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/0.9138, allocations: 1.317 MB / 1.166 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.9149, allocations: 378.5 kB / 1.166 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.9151, allocations: 16.91 kB / 1.166 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009925/0.9161, allocations: 104.9 kB / 1.166 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.9162, allocations: 48.39 kB / 1.166 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.9163, allocations: 27.39 kB / 1.166 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002279/0.9186, allocations: 1.073 MB / 1.167 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9186, allocations: 0 / 1.167 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001967/0.9206, allocations: 440.9 kB / 1.168 GB, free: 3.945 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 (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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/0.9218, allocations: 483.2 kB / 1.168 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.9244, allocations: 0.9045 MB / 1.169 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9244, allocations: 1.406 kB / 1.169 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.9259, allocations: 492.2 kB / 1.169 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/0.9299, allocations: 0.7303 MB / 1.17 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.935, allocations: 2.8 MB / 1.173 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/0.9359, allocations: 1.184 MB / 1.174 GB, free: 404 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001613/0.9375, allocations: 273.9 kB / 1.174 GB, free: 184 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.9378, allocations: 117.7 kB / 1.174 GB, free: 76 kB / 0.7448 GB Notification: Performance of SimCode: time 1.493e-06/0.9379, allocations: 0 / 1.174 GB, free: 76 kB / 0.7448 GB Notification: Performance of Templates: time 0.05646/0.9943, allocations: 31.09 MB / 1.205 GB, free: 3.453 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)