Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 100.5 kB / 15.71 MB, free: 452 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.001319/0.001319, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.433/1.433, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 132.3 MB / 424 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 11.98 kB / 0.504 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5166, allocations: 81.57 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05948/0.5762, allocations: 56.48 MB / 0.6388 GB, free: 7.988 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.5935, allocations: 11.19 MB / 0.6498 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.5966, allocations: 55.62 kB / 0.6498 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.5989, allocations: 464.8 kB / 0.6503 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006709/0.6056, allocations: 1.527 MB / 0.6517 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.6089, allocations: 0.8583 MB / 0.6526 GB, free: 9.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004808/0.6137, allocations: 3.39 MB / 0.6559 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.6151, allocations: 0.7938 MB / 0.6567 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.6176, allocations: 1.042 MB / 0.6577 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.6191, allocations: 0.7971 MB / 0.6585 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.6192, allocations: 44 kB / 0.6585 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.6219, allocations: 1.115 MB / 0.6596 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.6221, allocations: 195 kB / 0.6598 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004539/0.6226, allocations: 285 kB / 0.6601 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.6248, allocations: 1.644 MB / 0.6617 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.6248, allocations: 4 kB / 0.6617 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6248, allocations: 0 / 0.6617 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.6249, allocations: 4 kB / 0.6617 GB, free: 0.5195 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002643/0.6275, allocations: 1.497 MB / 0.6631 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6276, allocations: 12.03 kB / 0.6631 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.6291, allocations: 382 kB / 0.6635 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.6312, allocations: 1.078 MB / 0.6646 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.6316, allocations: 137.9 kB / 0.6647 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.6317, allocations: 76 kB / 0.6648 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.6335, allocations: 0.9661 MB / 0.6657 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.6336, allocations: 0 / 0.6657 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.6337, allocations: 32 kB / 0.6657 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.6337, allocations: 19.94 kB / 0.6658 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.6356, allocations: 0.8469 MB / 0.6666 GB, free: 11.32 MB / 0.4981 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.005995/0.6416, allocations: 4.796 MB / 0.6713 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.6431, allocations: 0.6069 MB / 0.6719 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.6437, allocations: 276.7 kB / 0.6721 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/0.6451, allocations: 1.388 MB / 0.6735 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6451, allocations: 42.56 kB / 0.6735 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/0.6451, allocations: 0 / 0.6735 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006331/0.6515, allocations: 1.841 MB / 0.6753 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.6516, allocations: 55.41 kB / 0.6754 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.6531, allocations: 1.047 MB / 0.6764 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.6532, allocations: 37.7 kB / 0.6764 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.6537, allocations: 0.5236 MB / 0.6769 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.6538, allocations: 157.7 kB / 0.6771 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.6539, allocations: 8 kB / 0.6771 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.654, allocations: 330 kB / 0.6774 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/0.6547, allocations: 280.9 kB / 0.6777 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.6556, allocations: 0.4901 MB / 0.6782 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.6564, allocations: 323.5 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6564, allocations: 4 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002305/0.6587, allocations: 0.9651 MB / 0.6794 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.6588, allocations: 210 kB / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6589, allocations: 4 kB / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.6601, allocations: 328.6 kB / 0.6799 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.6605, allocations: 115.9 kB / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.662, allocations: 0.9418 MB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.6632, allocations: 183.2 kB / 0.6811 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.6632, allocations: 27.98 kB / 0.6812 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.6633, allocations: 4 kB / 0.6812 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002062/0.6653, allocations: 0.8394 MB / 0.682 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6653, allocations: 4 kB / 0.682 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.6664, allocations: 325.1 kB / 0.6823 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.6668, allocations: 115.8 kB / 0.6824 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.6682, allocations: 0.9347 MB / 0.6833 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.6693, allocations: 163.3 kB / 0.6835 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.6693, allocations: 27.98 kB / 0.6835 GB, free: 9.035 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005579/0.6699, allocations: 341 kB / 0.6838 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6701, allocations: 114.6 kB / 0.6839 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.6728, allocations: 1.074 MB / 0.685 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.6728, allocations: 4 kB / 0.685 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6729, allocations: 3.984 kB / 0.685 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6729, allocations: 0 / 0.685 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.6773, allocations: 2.181 MB / 0.6871 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.6774, allocations: 4 kB / 0.6871 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.6776, allocations: 55.91 kB / 0.6872 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009629/0.6785, allocations: 320.7 kB / 0.6875 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.6786, allocations: 19.94 kB / 0.6875 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.68, allocations: 0.9668 MB / 0.6885 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.68, allocations: 4 kB / 0.6885 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.6831, allocations: 1.199 MB / 0.6896 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/0.6836, allocations: 275.5 kB / 0.6899 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.6838, allocations: 8 kB / 0.6899 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.6845, allocations: 103.8 kB / 0.69 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.6846, allocations: 43.78 kB / 0.69 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.6847, allocations: 23.98 kB / 0.6901 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001224/0.6859, allocations: 0.7352 MB / 0.6908 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6859, allocations: 0 / 0.6908 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001612/0.6875, allocations: 0.5652 MB / 0.6913 GB, free: 0.8203 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007711/0.6883, allocations: 386.3 kB / 0.6917 GB, free: 460 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002657/0.691, allocations: 1.054 MB / 0.6927 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.691, allocations: 0 / 0.6927 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.6918, allocations: 331.5 kB / 0.693 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.694, allocations: 0.4944 MB / 0.6935 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.6975, allocations: 2.243 MB / 0.6957 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.6982, allocations: 1.061 MB / 0.6968 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.6984, allocations: 83.36 kB / 0.6968 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of SimCode: time 7.22e-07/0.6984, allocations: 3.938 kB / 0.6968 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.03246/0.7308, allocations: 23.74 MB / 0.72 GB, free: 3.574 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Carnot_TEva_LimitedCapacityCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacityCalcHelperMain.o] Error 1