Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000801/0.0008011, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 174.5 kB / 16.58 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7452/0.7452, allocations: 132.3 MB / 424 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 8 kB / 0.504 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4792, allocations: 81.57 MB / 0.5837 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1252/0.6045, allocations: 122.2 MB / 0.703 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03253/0.6371, allocations: 21.76 MB / 0.7242 GB, free: 272 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005567/0.6427, allocations: 111.2 kB / 0.7243 GB, free: 160 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004486/0.6472, allocations: 0.9973 MB / 0.7253 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.6588, allocations: 3.166 MB / 0.7284 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006087/0.6649, allocations: 1.519 MB / 0.7299 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01169/0.6766, allocations: 7.182 MB / 0.7369 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003599/0.6802, allocations: 1.676 MB / 0.7385 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006062/0.6863, allocations: 2.162 MB / 0.7406 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/0.6903, allocations: 1.676 MB / 0.7423 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006428/0.691, allocations: 95.94 kB / 0.7424 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004596/0.6956, allocations: 1.228 MB / 0.7436 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006884/0.6963, allocations: 413.9 kB / 0.744 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.6977, allocations: 0.555 MB / 0.7445 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004896/0.7026, allocations: 3.141 MB / 0.7476 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7026, allocations: 0 / 0.7476 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7026, allocations: 0 / 0.7476 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.75e-05/0.7027, allocations: 0 / 0.7476 GB, free: 8.266 MB / 0.5762 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.005427/0.7081, allocations: 2.713 MB / 0.7502 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.7082, allocations: 8.031 kB / 0.7502 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004184/0.7124, allocations: 0.9489 MB / 0.7512 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.7172, allocations: 2.192 MB / 0.7533 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008381/0.7181, allocations: 314.9 kB / 0.7536 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003307/0.7184, allocations: 168 kB / 0.7538 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/0.7225, allocations: 1.969 MB / 0.7557 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.7225, allocations: 3.938 kB / 0.7557 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.7227, allocations: 68 kB / 0.7558 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.7227, allocations: 36 kB / 0.7558 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004513/0.7273, allocations: 1.901 MB / 0.7576 GB, free: 13.73 MB / 0.5919 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.01338/0.7406, allocations: 9.094 MB / 0.7665 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.7446, allocations: 1.303 MB / 0.7678 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.7456, allocations: 477.4 kB / 0.7683 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.7468, allocations: 1.726 MB / 0.7699 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.7469, allocations: 38.56 kB / 0.77 GB, free: 80 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.176e-06/0.7469, allocations: 0 / 0.77 GB, free: 80 kB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007918/0.7548, allocations: 2.506 MB / 0.7724 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.7549, allocations: 85.11 kB / 0.7725 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/0.7588, allocations: 2.516 MB / 0.775 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.7589, allocations: 45.7 kB / 0.775 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.7597, allocations: 1.042 MB / 0.776 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.76, allocations: 272.2 kB / 0.7763 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.7601, allocations: 20 kB / 0.7763 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7602, allocations: 357.9 kB / 0.7766 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.7618, allocations: 0.6232 MB / 0.7772 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.7636, allocations: 1.009 MB / 0.7782 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.7653, allocations: 0.6819 MB / 0.7789 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.7653, allocations: 3.938 kB / 0.7789 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004669/0.77, allocations: 1.963 MB / 0.7808 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.77, allocations: 8.625 kB / 0.7808 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.77, allocations: 8 kB / 0.7808 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.7716, allocations: 0.5049 MB / 0.7813 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.7728, allocations: 307.5 kB / 0.7816 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.7747, allocations: 1.556 MB / 0.7831 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/0.7774, allocations: 481.9 kB / 0.7836 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.7776, allocations: 67.83 kB / 0.7837 GB, free: 1.719 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009574/0.7786, allocations: 461.5 kB / 0.7841 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/0.7789, allocations: 245 kB / 0.7843 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.7823, allocations: 1.556 MB / 0.7859 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.7823, allocations: 11.98 kB / 0.7859 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7823, allocations: 4 kB / 0.7859 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.7823, allocations: 7.938 kB / 0.7859 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006918/0.7893, allocations: 3.698 MB / 0.7895 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.7893, allocations: 4 kB / 0.7895 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.7899, allocations: 136.1 kB / 0.7896 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.7914, allocations: 0.4971 MB / 0.7901 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.7914, allocations: 31.97 kB / 0.7901 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.7938, allocations: 1.645 MB / 0.7918 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7938, allocations: 4 kB / 0.7918 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/0.7992, allocations: 2.08 MB / 0.7938 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.8006, allocations: 0.5054 MB / 0.7943 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.8009, allocations: 19.98 kB / 0.7943 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.8025, allocations: 195.7 kB / 0.7945 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.8026, allocations: 59.89 kB / 0.7945 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/0.8027, allocations: 43.95 kB / 0.7946 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002909/0.8056, allocations: 1.766 MB / 0.7963 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3e-07/0.8056, allocations: 3.938 kB / 0.7963 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002008/0.8076, allocations: 0.6827 MB / 0.797 GB, free: 3.812 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.8087, allocations: 0.5736 MB / 0.7975 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003708/0.8124, allocations: 1.424 MB / 0.7989 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8124, allocations: 0 / 0.7989 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.8145, allocations: 0.7365 MB / 0.7996 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006908/0.8214, allocations: 1.266 MB / 0.8009 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00699/0.8284, allocations: 4.235 MB / 0.805 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009781/0.8295, allocations: 1.482 MB / 0.8065 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.8301, allocations: 191.3 kB / 0.8067 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/0.8301, allocations: 0 / 0.8067 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of Templates: time 0.4271/1.257, allocations: 61.82 MB / 0.867 GB, free: 180.3 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnotCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnotCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnotCalcHelperMain.o] Error 1