Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 175.3 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4458/0.4458, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 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.253/1.253, allocations: 225.7 MB / 353.2 MB, free: 1.117 MB / 282.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.0007877/0.0007877, allocations: 107.5 kB / 425.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 16 kB / 0.4955 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2974, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05566/0.3531, allocations: 70.16 MB / 0.6337 GB, free: 2.965 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02549/0.3786, allocations: 25.45 MB / 0.6586 GB, free: 7.707 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.3811, allocations: 63.56 kB / 0.6586 GB, free: 7.645 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.3832, allocations: 0.6526 MB / 0.6593 GB, free: 6.988 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.3905, allocations: 2.598 MB / 0.6618 GB, free: 4.379 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.3942, allocations: 1.509 MB / 0.6633 GB, free: 2.867 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005459/0.3997, allocations: 5.009 MB / 0.6682 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.4016, allocations: 1.152 MB / 0.6693 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.4047, allocations: 1.497 MB / 0.6708 GB, free: 11.15 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.4067, allocations: 1.104 MB / 0.6718 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.407, allocations: 56 kB / 0.6719 GB, free: 9.988 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.4099, allocations: 1.169 MB / 0.673 GB, free: 8.816 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006115/0.4106, allocations: 258.7 kB / 0.6733 GB, free: 8.562 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.4124, allocations: 0.806 MB / 0.6741 GB, free: 7.746 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.4168, allocations: 2.959 MB / 0.6769 GB, free: 4.777 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4168, allocations: 0 / 0.6769 GB, free: 4.777 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4169, allocations: 3.984 kB / 0.677 GB, free: 4.773 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.954e-05/0.4169, allocations: 0 / 0.677 GB, free: 4.773 MB / 490.7 MB 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.003907/0.4209, allocations: 1.711 MB / 0.6786 GB, free: 3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4209, allocations: 8.031 kB / 0.6786 GB, free: 2.992 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.4232, allocations: 0.4946 MB / 0.6791 GB, free: 2.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/0.4261, allocations: 1.52 MB / 0.6806 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/0.4265, allocations: 150 kB / 0.6807 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.4267, allocations: 104 kB / 0.6808 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.4294, allocations: 1.317 MB / 0.6821 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.4294, allocations: 0 / 0.6821 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/0.4295, allocations: 44 kB / 0.6822 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.4295, allocations: 24 kB / 0.6822 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.4322, allocations: 1.159 MB / 0.6833 GB, free: 14.03 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.008012/0.4403, allocations: 7.188 MB / 0.6903 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/0.4432, allocations: 0.8845 MB / 0.6912 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.4438, allocations: 302 kB / 0.6915 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.445, allocations: 1.722 MB / 0.6932 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4451, allocations: 38.94 kB / 0.6932 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.645e-06/0.4451, allocations: 4 kB / 0.6932 GB, free: 3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.004626/0.4497, allocations: 1.444 MB / 0.6946 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4498, allocations: 55.84 kB / 0.6947 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/0.4524, allocations: 1.521 MB / 0.6962 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.4525, allocations: 41.7 kB / 0.6962 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/0.4531, allocations: 0.6613 MB / 0.6969 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.4533, allocations: 173.6 kB / 0.697 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.4533, allocations: 12 kB / 0.697 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4534, allocations: 334 kB / 0.6973 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/0.4544, allocations: 389.8 kB / 0.6977 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.4556, allocations: 0.6552 MB / 0.6984 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.4574, allocations: 0.8912 MB / 0.6992 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.4574, allocations: 4 kB / 0.6992 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002892/0.4603, allocations: 1.216 MB / 0.7004 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4603, allocations: 8 kB / 0.7004 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.4603, allocations: 4 kB / 0.7004 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008544/0.4612, allocations: 229.2 kB / 0.7006 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.4619, allocations: 199.7 kB / 0.7008 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008366/0.4628, allocations: 0.7279 MB / 0.7016 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.4645, allocations: 266.7 kB / 0.7018 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.4646, allocations: 39.98 kB / 0.7018 GB, free: 9.844 MB / 0.5105 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 (78): * Single equations (assignments): 77 * 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.0006601/0.4653, allocations: 357.7 kB / 0.7022 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.4656, allocations: 146.2 kB / 0.7023 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.468, allocations: 1.172 MB / 0.7035 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.468, allocations: 12 kB / 0.7035 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.468, allocations: 7.938 kB / 0.7035 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.4681, allocations: 3.984 kB / 0.7035 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.4732, allocations: 2.588 MB / 0.706 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4732, allocations: 0 / 0.706 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.4736, allocations: 95.81 kB / 0.7061 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007359/0.4744, allocations: 220.7 kB / 0.7063 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.4744, allocations: 19.98 kB / 0.7063 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.4757, allocations: 0.802 MB / 0.7071 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4757, allocations: 4 kB / 0.7071 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.4789, allocations: 1.277 MB / 0.7084 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.4797, allocations: 382.8 kB / 0.7087 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/0.4801, allocations: 12 kB / 0.7088 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.4811, allocations: 107.8 kB / 0.7089 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.4812, allocations: 40.45 kB / 0.7089 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.4813, allocations: 23.98 kB / 0.7089 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002114/0.4834, allocations: 1.082 MB / 0.71 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4834, allocations: 0 / 0.71 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001434/0.4849, allocations: 435.4 kB / 0.7104 GB, free: 0.8945 MB / 0.5105 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 (52): * Single equations (assignments): 41 * 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.001086/0.486, allocations: 483.6 kB / 0.7108 GB, free: 436 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2139/0.6999, allocations: 0.8662 MB / 0.7117 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7, allocations: 1.094 kB / 0.7117 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.7013, allocations: 477.7 kB / 0.7121 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/0.7047, allocations: 0.7163 MB / 0.7128 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.7091, allocations: 2.787 MB / 0.7156 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.7097, allocations: 1.174 MB / 0.7167 GB, free: 142 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001174/0.7109, allocations: 266.3 kB / 0.717 GB, free: 142 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.7112, allocations: 117 kB / 0.7171 GB, free: 142 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/0.7112, allocations: 0 / 0.7171 GB, free: 142 MB / 0.5105 GB Notification: Performance of Templates: time 0.04227/0.7534, allocations: 30.7 MB / 0.7471 GB, free: 116.8 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)