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.001285/0.001285, allocations: 102.5 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001335, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 294.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8971/0.8971, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 97.47 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1586, allocations: 86.96 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3872/0.5458, allocations: 132.2 MB / 0.8107 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02987/0.5758, allocations: 23.21 MB / 0.8333 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00447/0.5803, allocations: 127.2 kB / 0.8335 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.5837, allocations: 1.483 MB / 0.8349 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009969/0.5938, allocations: 4.096 MB / 0.8389 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/0.5986, allocations: 2.177 MB / 0.841 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008384/0.607, allocations: 6.532 MB / 0.8474 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/0.6104, allocations: 2.363 MB / 0.8497 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005891/0.6163, allocations: 2.765 MB / 0.8524 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003015/0.6193, allocations: 1.875 MB / 0.8543 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.6197, allocations: 248 kB / 0.8545 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.6237, allocations: 1.934 MB / 0.8564 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.6243, allocations: 0.5914 MB / 0.857 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.6258, allocations: 1.458 MB / 0.8584 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.6311, allocations: 4.373 MB / 0.8627 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6311, allocations: 0 / 0.8627 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6311, allocations: 4 kB / 0.8627 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.473e-05/0.6311, allocations: 0 / 0.8627 GB, free: 5.133 MB / 0.6231 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.004998/0.6361, allocations: 3.168 MB / 0.8657 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.6362, allocations: 12.03 kB / 0.8658 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/0.6402, allocations: 0.84 MB / 0.8666 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004031/0.6442, allocations: 2.326 MB / 0.8689 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.6443, allocations: 127 kB / 0.869 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.6446, allocations: 156 kB / 0.8691 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.6481, allocations: 1.93 MB / 0.871 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.6481, allocations: 4 kB / 0.871 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.6483, allocations: 60 kB / 0.8711 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.6483, allocations: 40 kB / 0.8711 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.6525, allocations: 1.784 MB / 0.8728 GB, free: 10.46 MB / 0.6387 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.01103/0.6635, allocations: 8.953 MB / 0.8816 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.6674, allocations: 1.19 MB / 0.8828 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009783/0.6684, allocations: 469.1 kB / 0.8832 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.6695, allocations: 1.714 MB / 0.8849 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6695, allocations: 50.25 kB / 0.8849 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.184e-06/0.6695, allocations: 8 kB / 0.8849 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.007834/0.6774, allocations: 2.321 MB / 0.8872 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.6775, allocations: 85.11 kB / 0.8873 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/0.6811, allocations: 2.496 MB / 0.8897 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.6812, allocations: 41.7 kB / 0.8898 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008233/0.6821, allocations: 1.038 MB / 0.8908 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.6823, allocations: 272.2 kB / 0.891 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004016/0.6827, allocations: 254.6 kB / 0.8913 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6829, allocations: 341.9 kB / 0.8916 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.6844, allocations: 0.5841 MB / 0.8922 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.6862, allocations: 0.9543 MB / 0.8931 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.6889, allocations: 1.248 MB / 0.8943 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6889, allocations: 0 / 0.8943 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005953/0.6949, allocations: 2.021 MB / 0.8963 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.6949, allocations: 8 kB / 0.8963 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.6949, allocations: 12 kB / 0.8963 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.6965, allocations: 425.2 kB / 0.8967 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6976, allocations: 275.6 kB / 0.897 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.6995, allocations: 1.499 MB / 0.8984 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.7021, allocations: 366.1 kB / 0.8988 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.7023, allocations: 59.97 kB / 0.8989 GB, free: 14.37 MB / 0.67 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.0007712/0.703, allocations: 458 kB / 0.8993 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.7034, allocations: 248.9 kB / 0.8995 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.7068, allocations: 1.501 MB / 0.901 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.7068, allocations: 19.98 kB / 0.901 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.7068, allocations: 0 / 0.901 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7068, allocations: 3.984 kB / 0.901 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/0.7136, allocations: 3.608 MB / 0.9045 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.7137, allocations: 4 kB / 0.9045 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.7142, allocations: 132 kB / 0.9047 GB, free: 8.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.7156, allocations: 415.9 kB / 0.9051 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.7157, allocations: 27.98 kB / 0.9051 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.718, allocations: 1.577 MB / 0.9066 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.718, allocations: 0 / 0.9066 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/0.7236, allocations: 1.939 MB / 0.9085 GB, free: 4.203 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.7246, allocations: 489.6 kB / 0.909 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.7249, allocations: 19.94 kB / 0.909 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.7265, allocations: 131.8 kB / 0.9091 GB, free: 3.555 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.7266, allocations: 55.92 kB / 0.9092 GB, free: 3.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.055e-05/0.7267, allocations: 39.97 kB / 0.9092 GB, free: 3.461 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002879/0.7296, allocations: 1.753 MB / 0.9109 GB, free: 1.703 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.7296, allocations: 0 / 0.9109 GB, free: 1.703 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001816/0.7314, allocations: 0.6866 MB / 0.9116 GB, free: 1.016 MB / 0.67 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.001112/0.7325, allocations: 0.6146 MB / 0.9122 GB, free: 412 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003762/0.7363, allocations: 1.342 MB / 0.9135 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7363, allocations: 4.188 kB / 0.9135 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.7385, allocations: 0.6717 MB / 0.9142 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005105/0.7436, allocations: 1.334 MB / 0.9155 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005751/0.7493, allocations: 3.524 MB / 0.9189 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.7504, allocations: 1.49 MB / 0.9204 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001541/0.7519, allocations: 428.5 kB / 0.9208 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.7523, allocations: 175.3 kB / 0.921 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.7523, allocations: 0 / 0.921 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of Templates: time 0.3317/1.084, allocations: 48.14 MB / 0.968 GB, free: 240.4 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)