Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007817/0.0007816, allocations: 92.16 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.0008057/0.0008057, allocations: 182 kB / 16.92 MB, free: 6.922 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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 275 kB / 292.3 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9379/0.9379, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004326, allocations: 17.25 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 88.55 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5509/0.7279, allocations: 129.3 MB / 0.8121 GB, free: 23.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.7586, allocations: 23.06 MB / 0.8346 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006385/0.765, allocations: 109.5 kB / 0.8347 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.7701, allocations: 1.198 MB / 0.8358 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/0.7834, allocations: 3.774 MB / 0.8395 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00566/0.7891, allocations: 1.97 MB / 0.8415 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01133/0.8004, allocations: 8.274 MB / 0.8495 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.8048, allocations: 1.916 MB / 0.8514 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006573/0.8114, allocations: 2.296 MB / 0.8536 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.8157, allocations: 1.78 MB / 0.8554 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008506/0.8165, allocations: 89.47 kB / 0.8555 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005889/0.8224, allocations: 1.717 MB / 0.8571 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.8235, allocations: 441.6 kB / 0.8576 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003354/0.8268, allocations: 1.288 MB / 0.8588 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005724/0.8326, allocations: 3.25 MB / 0.862 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.8326, allocations: 0 / 0.862 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8326, allocations: 3.938 kB / 0.862 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001407/0.8328, allocations: 0 / 0.862 GB, free: 2.551 MB / 0.5606 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.0065/0.8393, allocations: 2.664 MB / 0.8646 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8393, allocations: 12.03 kB / 0.8646 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.8442, allocations: 0.9533 MB / 0.8655 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00549/0.8497, allocations: 2.28 MB / 0.8678 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/0.8508, allocations: 326.8 kB / 0.8681 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004402/0.8512, allocations: 160 kB / 0.8682 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00501/0.8562, allocations: 1.977 MB / 0.8702 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.8563, allocations: 4 kB / 0.8702 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.8565, allocations: 63.98 kB / 0.8702 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.8565, allocations: 39.94 kB / 0.8703 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005165/0.8617, allocations: 1.901 MB / 0.8721 GB, free: 7.953 MB / 0.5762 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.01438/0.8761, allocations: 9.086 MB / 0.881 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.8806, allocations: 1.293 MB / 0.8823 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.8818, allocations: 486 kB / 0.8827 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.8829, allocations: 1.723 MB / 0.8844 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.883, allocations: 42.31 kB / 0.8845 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.366e-06/0.883, allocations: 4 kB / 0.8845 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.009094/0.8921, allocations: 2.511 MB / 0.8869 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.8922, allocations: 85.11 kB / 0.887 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/0.8975, allocations: 2.512 MB / 0.8894 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.8977, allocations: 45.7 kB / 0.8895 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.8987, allocations: 1.038 MB / 0.8905 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/0.8991, allocations: 272.2 kB / 0.8908 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.8993, allocations: 93.66 kB / 0.8908 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8995, allocations: 353.9 kB / 0.8912 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.9014, allocations: 0.6232 MB / 0.8918 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.9036, allocations: 1.013 MB / 0.8928 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.9067, allocations: 1.326 MB / 0.8941 GB, free: 84 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/0.9067, allocations: 4 kB / 0.8941 GB, free: 80 kB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007048/0.9138, allocations: 2.189 MB / 0.8962 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.9139, allocations: 8 kB / 0.8962 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.9139, allocations: 8 kB / 0.8962 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.9156, allocations: 436.2 kB / 0.8966 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.9169, allocations: 303.5 kB / 0.8969 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.9194, allocations: 1.55 MB / 0.8985 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/0.923, allocations: 475.3 kB / 0.8989 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.9232, allocations: 63.97 kB / 0.899 GB, free: 11 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 (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.001268/0.9245, allocations: 461.5 kB / 0.8994 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/0.9253, allocations: 244.9 kB / 0.8996 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/0.9297, allocations: 1.559 MB / 0.9012 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/0.9297, allocations: 11.94 kB / 0.9012 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.9298, allocations: 3.938 kB / 0.9012 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.9298, allocations: 3.984 kB / 0.9012 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009744/0.9395, allocations: 3.697 MB / 0.9048 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.9396, allocations: 3.938 kB / 0.9048 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.9402, allocations: 136.2 kB / 0.9049 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.9419, allocations: 437.2 kB / 0.9053 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-05/0.942, allocations: 35.97 kB / 0.9054 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/0.9448, allocations: 1.629 MB / 0.907 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.9449, allocations: 3.938 kB / 0.907 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006615/0.9515, allocations: 2.08 MB / 0.909 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/0.953, allocations: 0.5053 MB / 0.9095 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006533/0.9537, allocations: 20 kB / 0.9095 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/0.9559, allocations: 195.7 kB / 0.9097 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.9561, allocations: 63.8 kB / 0.9098 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.9562, allocations: 35.97 kB / 0.9098 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003859/0.96, allocations: 1.765 MB / 0.9115 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9601, allocations: 0 / 0.9115 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002421/0.9625, allocations: 0.6866 MB / 0.9122 GB, free: 13.16 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 (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.001413/0.9639, allocations: 0.594 MB / 0.9128 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004505/0.9684, allocations: 1.432 MB / 0.9142 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.9685, allocations: 3.938 kB / 0.9142 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002548/0.971, allocations: 0.7311 MB / 0.9149 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008541/0.9796, allocations: 1.309 MB / 0.9162 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/0.9881, allocations: 4.393 MB / 0.9205 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.9896, allocations: 1.483 MB / 0.9219 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/0.9905, allocations: 191.4 kB / 0.9221 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of SimCode: time 7.02e-07/0.9905, allocations: 4 kB / 0.9221 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of Templates: time 0.08109/1.072, allocations: 61.67 MB / 0.9823 GB, free: 5.598 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.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 OMCppBuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOPCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOPCalcHelperMain.o] Error 1