Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7331/0.7331, allocations: 131 MB / 146.3 MB, free: 1.316 MB / 106.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.001165/0.001165, allocations: 183.2 kB / 176.4 MB, free: 4.871 MB / 138.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.316/1.316, allocations: 225.7 MB / 431.9 MB, free: 8.797 MB / 314.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.0008558/0.0008561, allocations: 101.4 kB / 0.5003 GB, free: 9.922 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 11.98 kB / 0.5885 GB, free: 72.69 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 79.6 MB / 0.6663 GB, free: 8.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3142/0.434, allocations: 75.14 MB / 0.7396 GB, free: 19.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.4541, allocations: 25.54 MB / 0.7646 GB, free: 7.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.4561, allocations: 60 kB / 0.7646 GB, free: 7.207 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.458, allocations: 0.6701 MB / 0.7653 GB, free: 6.844 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006453/0.4644, allocations: 2.671 MB / 0.7679 GB, free: 5.668 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.4683, allocations: 1.459 MB / 0.7693 GB, free: 4.891 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006025/0.4744, allocations: 5.206 MB / 0.7744 GB, free: 2.914 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.4759, allocations: 1.159 MB / 0.7755 GB, free: 2.426 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.479, allocations: 1.607 MB / 0.7771 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.4812, allocations: 1.165 MB / 0.7782 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.4814, allocations: 61.38 kB / 0.7783 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.4841, allocations: 1.061 MB / 0.7793 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.4843, allocations: 268.3 kB / 0.7796 GB, free: 476 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000832/0.4852, allocations: 0.8275 MB / 0.7804 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.4886, allocations: 3.149 MB / 0.7835 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4886, allocations: 3.938 kB / 0.7835 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.596e-06/0.4887, allocations: 2.656 kB / 0.7835 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.742e-05/0.4887, allocations: 3.938 kB / 0.7835 GB, free: 13.75 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.002885/0.4916, allocations: 1.732 MB / 0.7852 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4916, allocations: 16.5 kB / 0.7852 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.4938, allocations: 0.5023 MB / 0.7857 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.4966, allocations: 1.538 MB / 0.7872 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.497, allocations: 156.6 kB / 0.7873 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.4971, allocations: 105.2 kB / 0.7874 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.4997, allocations: 1.413 MB / 0.7888 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.4997, allocations: 3.938 kB / 0.7888 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/0.4998, allocations: 44.66 kB / 0.7889 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.4998, allocations: 28.56 kB / 0.7889 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.5023, allocations: 1.206 MB / 0.7901 GB, free: 9.238 MB / 0.4948 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.008177/0.5105, allocations: 7.668 MB / 0.7975 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.5134, allocations: 0.8619 MB / 0.7984 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.514, allocations: 268.7 kB / 0.7986 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.5151, allocations: 1.394 MB / 0.8 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.5151, allocations: 42.56 kB / 0.8 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=44): time 2.375e-06/0.5151, allocations: 0 / 0.8 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.004237/0.5194, allocations: 1.396 MB / 0.8014 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.5194, allocations: 59.39 kB / 0.8015 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.5217, allocations: 1.595 MB / 0.803 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.5218, allocations: 37.7 kB / 0.8031 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/0.5223, allocations: 0.7311 MB / 0.8038 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.5225, allocations: 157.8 kB / 0.8039 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.5225, allocations: 16 kB / 0.8039 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5227, allocations: 334 kB / 0.8043 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009534/0.5236, allocations: 401.8 kB / 0.8046 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.5248, allocations: 0.7372 MB / 0.8054 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.5265, allocations: 0.9618 MB / 0.8063 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.5265, allocations: 0 / 0.8063 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00409/0.5306, allocations: 1.52 MB / 0.8078 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5307, allocations: 12.78 kB / 0.8078 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5307, allocations: 8 kB / 0.8078 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007949/0.5315, allocations: 236.5 kB / 0.808 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/0.5323, allocations: 215.7 kB / 0.8082 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008456/0.5332, allocations: 0.7396 MB / 0.809 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.5347, allocations: 278.5 kB / 0.8092 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/0.5348, allocations: 43.97 kB / 0.8093 GB, free: 5.996 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (90): * Single equations (assignments): 89 * 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.0005897/0.5354, allocations: 369.5 kB / 0.8096 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.5356, allocations: 162.1 kB / 0.8098 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.5377, allocations: 1.049 MB / 0.8108 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.5378, allocations: 8 kB / 0.8108 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5378, allocations: 0 / 0.8108 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5378, allocations: 3.984 kB / 0.8108 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/0.5421, allocations: 2.283 MB / 0.813 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5422, allocations: 0 / 0.813 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.5425, allocations: 91.94 kB / 0.8131 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006844/0.5432, allocations: 216.6 kB / 0.8133 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.5432, allocations: 15.98 kB / 0.8134 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.5444, allocations: 0.7981 MB / 0.8141 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5444, allocations: 0 / 0.8141 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.5475, allocations: 1.171 MB / 0.8153 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.5481, allocations: 370.8 kB / 0.8156 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.5482, allocations: 12 kB / 0.8156 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/0.5492, allocations: 95.91 kB / 0.8157 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.5493, allocations: 36.33 kB / 0.8158 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.5493, allocations: 23.98 kB / 0.8158 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001693/0.551, allocations: 1.143 MB / 0.8169 GB, free: 14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.551, allocations: 192 / 0.8169 GB, free: 14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001116/0.5522, allocations: 423.5 kB / 0.8173 GB, free: 13.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0007348/0.5529, allocations: 444.2 kB / 0.8177 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.5549, allocations: 0.8632 MB / 0.8186 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5549, allocations: 0 / 0.8186 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.556, allocations: 414.9 kB / 0.819 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.559, allocations: 0.7544 MB / 0.8197 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.5624, allocations: 2.749 MB / 0.8224 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.563, allocations: 1.172 MB / 0.8235 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001027/0.5641, allocations: 280.7 kB / 0.8238 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.5643, allocations: 119.4 kB / 0.8239 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/0.5644, allocations: 0 / 0.8239 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of Templates: time 0.04729/0.6117, allocations: 31.04 MB / 0.8542 GB, free: 8.121 MB / 0.5573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)