Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9037/0.9037, allocations: 143.8 MB / 159.1 MB, free: 6.5 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.0008933/0.0008934, allocations: 183.3 kB / 192 MB, free: 6.719 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.342/1.342, allocations: 225.7 MB / 450.4 MB, free: 4.965 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.000767/0.000767, allocations: 107.5 kB / 0.5211 GB, free: 1.625 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.001587/0.001587, allocations: 288.3 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 15.84 kB / 0.6948 GB, free: 59.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4323/0.5715, allocations: 131.8 MB / 0.904 GB, free: 40.48 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03052/0.6021, allocations: 31.56 MB / 0.9348 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006172/0.6083, allocations: 104.7 kB / 0.9349 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004575/0.6129, allocations: 1.203 MB / 0.9361 GB, free: 28.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.6259, allocations: 3.761 MB / 0.9398 GB, free: 28.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.6322, allocations: 1.993 MB / 0.9417 GB, free: 28.53 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01204/0.6443, allocations: 8.289 MB / 0.9498 GB, free: 27.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004302/0.6486, allocations: 1.907 MB / 0.9517 GB, free: 27.13 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006384/0.655, allocations: 2.372 MB / 0.954 GB, free: 26.77 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003919/0.659, allocations: 1.785 MB / 0.9557 GB, free: 26.32 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0009319/0.66, allocations: 93.03 kB / 0.9558 GB, free: 26.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/0.6655, allocations: 1.627 MB / 0.9574 GB, free: 26.14 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009734/0.6665, allocations: 433.5 kB / 0.9578 GB, free: 26.03 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002953/0.6694, allocations: 1.303 MB / 0.9591 GB, free: 25.56 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007402/0.6769, allocations: 4.154 MB / 0.9632 GB, free: 23.49 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6769, allocations: 0 / 0.9632 GB, free: 23.49 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6769, allocations: 0 / 0.9632 GB, free: 23.49 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001341/0.677, allocations: 0 / 0.9632 GB, free: 23.49 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005641/0.6827, allocations: 2.695 MB / 0.9658 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6827, allocations: 9.781 kB / 0.9658 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004496/0.6872, allocations: 0.9526 MB / 0.9667 GB, free: 21.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.692, allocations: 2.278 MB / 0.969 GB, free: 20.26 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009484/0.693, allocations: 323.4 kB / 0.9693 GB, free: 20.19 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.6934, allocations: 165.6 kB / 0.9694 GB, free: 20.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/0.6975, allocations: 1.965 MB / 0.9713 GB, free: 19.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.6975, allocations: 3.938 kB / 0.9714 GB, free: 19.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.6977, allocations: 62.44 kB / 0.9714 GB, free: 19.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.6977, allocations: 41.34 kB / 0.9715 GB, free: 19.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/0.702, allocations: 1.91 MB / 0.9733 GB, free: 19.23 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.01072/0.7127, allocations: 9.111 MB / 0.9822 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.7167, allocations: 1.297 MB / 0.9835 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009616/0.7177, allocations: 489.6 kB / 0.9839 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/0.7184, allocations: 1.718 MB / 0.9856 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.7184, allocations: 44.73 kB / 0.9857 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.7185, allocations: 4 kB / 0.9857 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.007946/0.7264, allocations: 2.511 MB / 0.9881 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.7265, allocations: 85.11 kB / 0.9882 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.7298, allocations: 2.515 MB / 0.9907 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.7299, allocations: 48.02 kB / 0.9907 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006678/0.7306, allocations: 1.058 MB / 0.9917 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.7308, allocations: 274.3 kB / 0.992 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.7309, allocations: 18.69 kB / 0.992 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.731, allocations: 348.7 kB / 0.9924 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.7325, allocations: 0.6203 MB / 0.993 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.7343, allocations: 1.012 MB / 0.9939 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/0.7369, allocations: 1.326 MB / 0.9952 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.7369, allocations: 7.938 kB / 0.9952 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00466/0.7416, allocations: 1.961 MB / 0.9972 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7416, allocations: 8 kB / 0.9972 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7416, allocations: 12.03 kB / 0.9972 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.7433, allocations: 0.5003 MB / 0.9977 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.7445, allocations: 298.1 kB / 0.998 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.7463, allocations: 1.568 MB / 0.9995 GB, free: 15.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.7495, allocations: 486.3 kB / 0.9999 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.7497, allocations: 60.91 kB / 1 GB, free: 15.42 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009215/0.7506, allocations: 463.4 kB / 1 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.7511, allocations: 245 kB / 1.001 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003842/0.755, allocations: 1.549 MB / 1.002 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.755, allocations: 12 kB / 1.002 GB, free: 13.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.755, allocations: 3.938 kB / 1.002 GB, free: 13.21 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.755, allocations: 7.984 kB / 1.002 GB, free: 13.21 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008931/0.764, allocations: 3.696 MB / 1.006 GB, free: 9.418 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.764, allocations: 0 / 1.006 GB, free: 9.418 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.7647, allocations: 136.2 kB / 1.006 GB, free: 9.285 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/0.7666, allocations: 0.5049 MB / 1.006 GB, free: 8.773 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.7667, allocations: 19.98 kB / 1.006 GB, free: 8.754 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.7693, allocations: 1.647 MB / 1.008 GB, free: 7.055 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7693, allocations: 4 kB / 1.008 GB, free: 7.051 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/0.7758, allocations: 2.076 MB / 1.01 GB, free: 4.934 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.7771, allocations: 0.517 MB / 1.011 GB, free: 4.395 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005963/0.7777, allocations: 20 kB / 1.011 GB, free: 4.375 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/0.7798, allocations: 191.7 kB / 1.011 GB, free: 4.188 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7799, allocations: 59.86 kB / 1.011 GB, free: 4.129 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.78, allocations: 43.97 kB / 1.011 GB, free: 4.086 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003409/0.7834, allocations: 1.777 MB / 1.013 GB, free: 2.305 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7834, allocations: 0 / 1.013 GB, free: 2.305 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002224/0.7857, allocations: 0.675 MB / 1.013 GB, free: 1.629 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001296/0.787, allocations: 0.6128 MB / 1.014 GB, free: 1.059 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004145/0.7911, allocations: 1.439 MB / 1.015 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7912, allocations: 0 / 1.015 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.7935, allocations: 0.7249 MB / 1.016 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00868/0.8022, allocations: 1.342 MB / 1.017 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/0.811, allocations: 4.359 MB / 1.022 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.8126, allocations: 1.491 MB / 1.023 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002761/0.8154, allocations: 448.5 kB / 1.023 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007125/0.8161, allocations: 179.4 kB / 1.024 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/0.8161, allocations: 0 / 1.024 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of Templates: time 0.08486/0.901, allocations: 51.54 MB / 1.074 GB, free: 4.176 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)