Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008016, allocations: 92.08 kB / 16.02 MB, free: 80 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.00117/0.00117, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.306/1.306, allocations: 223.2 MB / 240.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7662/0.7662, allocations: 132.3 MB / 424.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 12.56 kB / 0.5046 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5004, allocations: 81.57 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0581/0.5585, allocations: 59.74 MB / 0.6426 GB, free: 4.551 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.5747, allocations: 11.9 MB / 0.6543 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.5769, allocations: 51.62 kB / 0.6543 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.5786, allocations: 0.5438 MB / 0.6548 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004994/0.5836, allocations: 1.796 MB / 0.6566 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.5863, allocations: 1.084 MB / 0.6576 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004501/0.5908, allocations: 3.9 MB / 0.6615 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.5922, allocations: 0.9136 MB / 0.6623 GB, free: 296 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.5944, allocations: 1.12 MB / 0.6634 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.5955, allocations: 0.8553 MB / 0.6643 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.662e-05/0.5956, allocations: 40 kB / 0.6643 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.5981, allocations: 1.349 MB / 0.6656 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.5984, allocations: 210.9 kB / 0.6658 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006149/0.599, allocations: 0.6311 MB / 0.6664 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.6008, allocations: 1.707 MB / 0.6681 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6008, allocations: 0 / 0.6681 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6008, allocations: 0 / 0.6681 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.6008, allocations: 0 / 0.6681 GB, free: 10.36 MB / 0.4981 GB 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.002426/0.6033, allocations: 1.489 MB / 0.6696 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6033, allocations: 8.031 kB / 0.6696 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.6049, allocations: 387 kB / 0.6699 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.6067, allocations: 1.128 MB / 0.671 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/0.6071, allocations: 125.9 kB / 0.6712 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.6072, allocations: 80 kB / 0.6712 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.609, allocations: 0.9739 MB / 0.6722 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.609, allocations: 0 / 0.6722 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.6091, allocations: 32 kB / 0.6722 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.6091, allocations: 20 kB / 0.6722 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.6111, allocations: 0.8586 MB / 0.6731 GB, free: 5.105 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.00557/0.6167, allocations: 4.8 MB / 0.6778 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.6182, allocations: 0.5947 MB / 0.6783 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.6188, allocations: 284.6 kB / 0.6786 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.6201, allocations: 1.384 MB / 0.68 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.6201, allocations: 38.56 kB / 0.68 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.6201, allocations: 0 / 0.68 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.00816/0.6283, allocations: 2.052 MB / 0.682 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.6284, allocations: 55.41 kB / 0.6821 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.6298, allocations: 1.059 MB / 0.6831 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.6298, allocations: 33.7 kB / 0.6831 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.6302, allocations: 0.5157 MB / 0.6836 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.6304, allocations: 161.8 kB / 0.6838 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.6304, allocations: 49.64 kB / 0.6838 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6306, allocations: 326 kB / 0.6841 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/0.6313, allocations: 292.9 kB / 0.6844 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008674/0.6322, allocations: 498.1 kB / 0.6849 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.6336, allocations: 0.6628 MB / 0.6855 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6336, allocations: 11.94 kB / 0.6856 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002261/0.6358, allocations: 0.9688 MB / 0.6865 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.636, allocations: 212.3 kB / 0.6867 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.636, allocations: 4 kB / 0.6867 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.6372, allocations: 336.5 kB / 0.687 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.6377, allocations: 123.8 kB / 0.6872 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.6391, allocations: 0.9299 MB / 0.6881 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.6403, allocations: 187.2 kB / 0.6882 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.6403, allocations: 27.98 kB / 0.6883 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.6403, allocations: 4 kB / 0.6883 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00206/0.6424, allocations: 0.8476 MB / 0.6891 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6424, allocations: 4.188 kB / 0.6891 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.6435, allocations: 324.6 kB / 0.6894 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.6439, allocations: 119.8 kB / 0.6895 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.6452, allocations: 0.927 MB / 0.6904 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6462, allocations: 163.4 kB / 0.6906 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.6463, allocations: 27.98 kB / 0.6906 GB, free: 2.129 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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005102/0.6468, allocations: 356.9 kB / 0.691 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.647, allocations: 110.6 kB / 0.6911 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.6506, allocations: 1.151 MB / 0.6922 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.6506, allocations: 8 kB / 0.6922 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6506, allocations: 0 / 0.6922 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6506, allocations: 7.922 kB / 0.6922 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/0.6551, allocations: 2.151 MB / 0.6943 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6552, allocations: 0 / 0.6943 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.6554, allocations: 59.91 kB / 0.6944 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009991/0.6564, allocations: 343.3 kB / 0.6947 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.6564, allocations: 15.94 kB / 0.6947 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.6578, allocations: 0.9736 MB / 0.6956 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6578, allocations: 4.031 kB / 0.6957 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.6611, allocations: 1.195 MB / 0.6968 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.6615, allocations: 279.4 kB / 0.6971 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.6617, allocations: 8 kB / 0.6971 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008072/0.6625, allocations: 103.8 kB / 0.6972 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.6626, allocations: 43.77 kB / 0.6972 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.6626, allocations: 27.92 kB / 0.6973 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001119/0.6637, allocations: 0.7428 MB / 0.698 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6638, allocations: 0 / 0.698 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001622/0.6654, allocations: 0.5614 MB / 0.6985 GB, free: 9.816 MB / 0.5294 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 (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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008546/0.6662, allocations: 395.6 kB / 0.6989 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002724/0.669, allocations: 1.061 MB / 0.6999 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.669, allocations: 4.125 kB / 0.7 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.6698, allocations: 329.4 kB / 0.7003 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.6724, allocations: 0.4954 MB / 0.7008 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.6761, allocations: 2.294 MB / 0.703 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.6767, allocations: 1.058 MB / 0.704 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.677, allocations: 75.42 kB / 0.7041 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.677, allocations: 0 / 0.7041 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of Templates: time 0.03036/0.7073, allocations: 23.78 MB / 0.7273 GB, free: 12.45 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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.HeatPumps.Validation.Carnot_TCon_LimitedCapacityCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacityCalcHelperMain.o] Error 1