Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7463/0.7463, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.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.0009756/0.0009755, allocations: 183.3 kB / 192 MB, free: 6.723 MB / 154.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.34/1.34, allocations: 225.7 MB / 450.4 MB, free: 5 MB / 330.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.0007385/0.0007384, allocations: 107 kB / 0.5211 GB, free: 1.668 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 285.5 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 14.91 kB / 0.6948 GB, free: 59.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 82.46 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06941/0.2085, allocations: 70.16 MB / 0.8438 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03425/0.2428, allocations: 25.46 MB / 0.8687 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.2458, allocations: 63.56 kB / 0.8687 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.2489, allocations: 0.6449 MB / 0.8694 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.2592, allocations: 2.602 MB / 0.8719 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005862/0.2651, allocations: 1.513 MB / 0.8734 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.008376/0.2735, allocations: 5.017 MB / 0.8783 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.2757, allocations: 1.14 MB / 0.8794 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.2794, allocations: 1.501 MB / 0.8809 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.2816, allocations: 1.096 MB / 0.8819 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.2818, allocations: 56 kB / 0.882 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.2847, allocations: 1.173 MB / 0.8831 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.285, allocations: 258.6 kB / 0.8834 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009563/0.286, allocations: 0.8022 MB / 0.8842 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.2896, allocations: 2.967 MB / 0.8871 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2896, allocations: 4 kB / 0.8871 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2896, allocations: 0 / 0.8871 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.739e-05/0.2897, allocations: 0 / 0.8871 GB, free: 8.785 MB / 0.5573 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.002706/0.2924, allocations: 1.704 MB / 0.8887 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2924, allocations: 8.031 kB / 0.8887 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.2944, allocations: 0.4984 MB / 0.8892 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.2967, allocations: 1.528 MB / 0.8907 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.2971, allocations: 142 kB / 0.8909 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.2972, allocations: 108 kB / 0.891 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.2996, allocations: 1.313 MB / 0.8922 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.2996, allocations: 0 / 0.8922 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.2997, allocations: 44 kB / 0.8923 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.2998, allocations: 32 kB / 0.8923 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.3023, allocations: 1.155 MB / 0.8934 GB, free: 2.047 MB / 0.5573 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.2864/0.5888, allocations: 7.167 MB / 0.9004 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/0.5916, allocations: 0.8958 MB / 0.9013 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.5922, allocations: 298 kB / 0.9016 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000844/0.593, allocations: 1.724 MB / 0.9033 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.5931, allocations: 40.5 kB / 0.9033 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 2.365e-06/0.5931, allocations: 0 / 0.9033 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.004406/0.5975, allocations: 1.447 MB / 0.9047 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.5975, allocations: 61.94 kB / 0.9048 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.5997, allocations: 1.519 MB / 0.9063 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.5998, allocations: 39.08 kB / 0.9063 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/0.6004, allocations: 0.6674 MB / 0.907 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.6006, allocations: 171.2 kB / 0.9071 GB, free: 112 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.6006, allocations: 14.31 kB / 0.9071 GB, free: 112 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6008, allocations: 334.6 kB / 0.9075 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009713/0.6017, allocations: 385.9 kB / 0.9078 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.6029, allocations: 0.6585 MB / 0.9085 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.6044, allocations: 0.89 MB / 0.9093 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.6045, allocations: 2.906 kB / 0.9093 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002697/0.6072, allocations: 1.219 MB / 0.9105 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.6072, allocations: 13.81 kB / 0.9105 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6072, allocations: 6.875 kB / 0.9106 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009335/0.6082, allocations: 230.2 kB / 0.9108 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.609, allocations: 194.8 kB / 0.911 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007591/0.6097, allocations: 0.7285 MB / 0.9117 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.6113, allocations: 264.1 kB / 0.9119 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.6114, allocations: 41.92 kB / 0.912 GB, free: 110.3 MB / 0.5573 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.0004889/0.6119, allocations: 359.5 kB / 0.9123 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.6121, allocations: 142.9 kB / 0.9124 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.6146, allocations: 1.175 MB / 0.9136 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.6146, allocations: 8.359 kB / 0.9136 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.6146, allocations: 4.594 kB / 0.9136 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.6146, allocations: 5.547 kB / 0.9136 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/0.6198, allocations: 2.579 MB / 0.9161 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.6198, allocations: 14.55 kB / 0.9161 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.6202, allocations: 85.58 kB / 0.9162 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00067/0.6209, allocations: 229.4 kB / 0.9164 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.6209, allocations: 14.62 kB / 0.9164 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.622, allocations: 0.7957 MB / 0.9172 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.622, allocations: 2.156 kB / 0.9172 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.6251, allocations: 1.291 MB / 0.9185 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.6255, allocations: 370.4 kB / 0.9188 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.6257, allocations: 16.06 kB / 0.9189 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.6266, allocations: 107.2 kB / 0.919 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.6267, allocations: 41.23 kB / 0.919 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.6268, allocations: 27.81 kB / 0.919 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001619/0.6284, allocations: 1.074 MB / 0.9201 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6284, allocations: 4.672 kB / 0.9201 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00117/0.6296, allocations: 444.1 kB / 0.9205 GB, free: 108.2 MB / 0.5573 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.0007924/0.6304, allocations: 497.1 kB / 0.921 GB, free: 108 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.6324, allocations: 0.8647 MB / 0.9218 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6324, allocations: 0.7188 kB / 0.9218 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.6335, allocations: 484.8 kB / 0.9223 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/0.6365, allocations: 0.7114 MB / 0.923 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.6402, allocations: 2.79 MB / 0.9257 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.6408, allocations: 1.173 MB / 0.9268 GB, free: 105 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009832/0.6417, allocations: 267.1 kB / 0.9271 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.642, allocations: 118.5 kB / 0.9272 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.12e-07/0.642, allocations: 0 / 0.9272 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.04035/0.6824, allocations: 30.71 MB / 0.9572 GB, free: 77.66 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)