Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7904/0.7904, allocations: 143.8 MB / 159.1 MB, free: 6.527 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.001103/0.001103, allocations: 182.5 kB / 192 MB, free: 6.734 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.367/1.367, allocations: 225.7 MB / 450.4 MB, free: 5.004 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.0009055/0.0009056, allocations: 103.5 kB / 0.5211 GB, free: 1.66 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.001704/0.001704, allocations: 281.8 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004278, allocations: 13.59 kB / 0.6948 GB, free: 59.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.401/0.5371, allocations: 131.8 MB / 0.904 GB, free: 40.5 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02767/0.5648, allocations: 31.55 MB / 0.9348 GB, free: 28.81 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003981/0.5689, allocations: 103 kB / 0.9349 GB, free: 28.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.5719, allocations: 1.204 MB / 0.9361 GB, free: 28.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.5824, allocations: 3.757 MB / 0.9397 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005185/0.5876, allocations: 2.006 MB / 0.9417 GB, free: 28.55 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.009611/0.5972, allocations: 8.28 MB / 0.9498 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.5999, allocations: 1.908 MB / 0.9517 GB, free: 27.16 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.6041, allocations: 2.367 MB / 0.954 GB, free: 26.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.6064, allocations: 1.78 MB / 0.9557 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.6066, allocations: 93.56 kB / 0.9558 GB, free: 26.35 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.6101, allocations: 1.628 MB / 0.9574 GB, free: 26.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.6105, allocations: 436.9 kB / 0.9578 GB, free: 26.06 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.6117, allocations: 1.298 MB / 0.9591 GB, free: 25.59 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.6157, allocations: 4.15 MB / 0.9631 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6157, allocations: 0 / 0.9631 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6157, allocations: 0 / 0.9631 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.97e-05/0.6158, allocations: 0 / 0.9631 GB, free: 23.51 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.003761/0.6195, allocations: 2.675 MB / 0.9657 GB, free: 21.74 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.6196, allocations: 11.22 kB / 0.9657 GB, free: 21.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.6234, allocations: 0.9617 MB / 0.9667 GB, free: 21.34 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.6267, allocations: 2.297 MB / 0.9689 GB, free: 20.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000881/0.6276, allocations: 322.1 kB / 0.9692 GB, free: 20.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.6278, allocations: 163.9 kB / 0.9694 GB, free: 20.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.6311, allocations: 1.974 MB / 0.9713 GB, free: 19.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.6312, allocations: 2.719 kB / 0.9713 GB, free: 19.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.6313, allocations: 61.94 kB / 0.9714 GB, free: 19.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.6314, allocations: 44.77 kB / 0.9714 GB, free: 19.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/0.6355, allocations: 1.889 MB / 0.9733 GB, free: 19.24 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.009735/0.6452, allocations: 9.096 MB / 0.9822 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.6489, allocations: 1.291 MB / 0.9834 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009151/0.6498, allocations: 483.6 kB / 0.9839 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00066/0.6505, allocations: 1.72 MB / 0.9856 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.6505, allocations: 43.97 kB / 0.9856 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/0.6505, allocations: 0 / 0.9856 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.007449/0.658, allocations: 2.501 MB / 0.988 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.658, allocations: 85.11 kB / 0.9881 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.6611, allocations: 2.494 MB / 0.9906 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-05/0.6612, allocations: 43.33 kB / 0.9906 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006107/0.6618, allocations: 1.046 MB / 0.9916 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.662, allocations: 272.6 kB / 0.9919 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.662, allocations: 20.19 kB / 0.9919 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.6621, allocations: 354.9 kB / 0.9922 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.6636, allocations: 0.6262 MB / 0.9928 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.6652, allocations: 1.005 MB / 0.9938 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.6677, allocations: 1.324 MB / 0.9951 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6677, allocations: 4 kB / 0.9951 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004187/0.6719, allocations: 1.954 MB / 0.997 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6719, allocations: 12 kB / 0.997 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.6719, allocations: 11.98 kB / 0.9971 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.6733, allocations: 438.6 kB / 0.9975 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.6744, allocations: 302.1 kB / 0.9978 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.6761, allocations: 1.548 MB / 0.9993 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.679, allocations: 487.3 kB / 0.9997 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.6791, allocations: 67.14 kB / 0.9998 GB, free: 15.55 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007976/0.6799, allocations: 467.5 kB / 1 GB, free: 15.24 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.6803, allocations: 248.9 kB / 1 GB, free: 14.99 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.6837, allocations: 1.541 MB / 1.002 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.6837, allocations: 19.92 kB / 1.002 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6837, allocations: 4 kB / 1.002 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.6837, allocations: 3.984 kB / 1.002 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006938/0.6907, allocations: 3.679 MB / 1.006 GB, free: 9.637 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.6907, allocations: 4 kB / 1.006 GB, free: 9.633 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.6913, allocations: 136.1 kB / 1.006 GB, free: 9.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.6928, allocations: 441.2 kB / 1.006 GB, free: 9.062 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.6928, allocations: 23.98 kB / 1.006 GB, free: 9.039 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.6953, allocations: 1.635 MB / 1.008 GB, free: 7.352 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6953, allocations: 4 kB / 1.008 GB, free: 7.348 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.7009, allocations: 2.072 MB / 1.01 GB, free: 5.234 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000931/0.7019, allocations: 0.5054 MB / 1.01 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.7022, allocations: 27.98 kB / 1.01 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.7038, allocations: 191.7 kB / 1.011 GB, free: 4.492 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.7039, allocations: 55.88 kB / 1.011 GB, free: 4.438 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.704, allocations: 39.97 kB / 1.011 GB, free: 4.398 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002676/0.7067, allocations: 1.758 MB / 1.012 GB, free: 2.637 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7067, allocations: 0 / 1.012 GB, free: 2.637 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001678/0.7084, allocations: 0.6749 MB / 1.013 GB, free: 1.961 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009854/0.7094, allocations: 0.614 MB / 1.014 GB, free: 1.387 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00376/0.7132, allocations: 1.431 MB / 1.015 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7132, allocations: 0 / 1.015 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.7154, allocations: 0.7227 MB / 1.016 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00643/0.7218, allocations: 1.341 MB / 1.017 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006123/0.7279, allocations: 4.343 MB / 1.021 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.729, allocations: 1.494 MB / 1.023 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001942/0.7309, allocations: 444.5 kB / 1.023 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.7314, allocations: 175.4 kB / 1.023 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.7314, allocations: 0 / 1.023 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of Templates: time 0.1085/0.8399, allocations: 51.3 MB / 1.073 GB, free: 4.773 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)