Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006448/0.006448, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.00137/0.001371, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4548, allocations: 80.91 MB / 0.6646 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1287/0.5835, allocations: 132.2 MB / 0.7937 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03109/0.6146, allocations: 23.19 MB / 0.8163 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/0.6191, allocations: 131.2 kB / 0.8165 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004853/0.6239, allocations: 1.529 MB / 0.818 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.6393, allocations: 4.314 MB / 0.8222 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006577/0.6459, allocations: 2.179 MB / 0.8243 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009455/0.6554, allocations: 6.541 MB / 0.8307 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003703/0.6591, allocations: 2.376 MB / 0.833 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006376/0.6655, allocations: 2.81 MB / 0.8358 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.6689, allocations: 1.894 MB / 0.8376 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008097/0.6698, allocations: 248 kB / 0.8378 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004717/0.6745, allocations: 1.934 MB / 0.8397 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008515/0.6754, allocations: 0.5954 MB / 0.8403 GB, free: 13.16 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.6779, allocations: 1.458 MB / 0.8417 GB, free: 11.69 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007129/0.685, allocations: 4.389 MB / 0.846 GB, free: 7.293 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6851, allocations: 4 kB / 0.846 GB, free: 7.289 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6851, allocations: 0 / 0.846 GB, free: 7.289 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.338e-05/0.6852, allocations: 0 / 0.846 GB, free: 7.289 MB / 0.67 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.005891/0.6911, allocations: 3.18 MB / 0.8491 GB, free: 4.023 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6911, allocations: 12.03 kB / 0.8491 GB, free: 4.012 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00467/0.6958, allocations: 0.8356 MB / 0.85 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005508/0.7013, allocations: 2.33 MB / 0.8522 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.7015, allocations: 131 kB / 0.8524 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.702, allocations: 159.9 kB / 0.8525 GB, free: 492 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.7077, allocations: 1.923 MB / 0.8544 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.7077, allocations: 7.875 kB / 0.8544 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.7079, allocations: 64 kB / 0.8545 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.708, allocations: 36 kB / 0.8545 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/0.7131, allocations: 1.788 MB / 0.8562 GB, free: 12.6 MB / 0.6856 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.01512/0.7282, allocations: 8.973 MB / 0.865 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/0.7327, allocations: 1.204 MB / 0.8662 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.7339, allocations: 461.4 kB / 0.8666 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3782/1.112, allocations: 1.725 MB / 0.8683 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/1.112, allocations: 43.34 kB / 0.8683 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 3.356e-06/1.112, allocations: 0 / 0.8683 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009321/1.122, allocations: 2.322 MB / 0.8706 GB, free: 186 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.122, allocations: 88.77 kB / 0.8707 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00439/1.126, allocations: 2.505 MB / 0.8731 GB, free: 185 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.126, allocations: 44.52 kB / 0.8732 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007621/1.127, allocations: 1.034 MB / 0.8742 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/1.127, allocations: 272.6 kB / 0.8745 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/1.128, allocations: 256.3 kB / 0.8747 GB, free: 184 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/1.128, allocations: 350.1 kB / 0.875 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/1.129, allocations: 0.5749 MB / 0.8756 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/1.132, allocations: 0.9497 MB / 0.8765 GB, free: 183 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/1.135, allocations: 1.246 MB / 0.8777 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/1.135, allocations: 2.219 kB / 0.8777 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006828/1.141, allocations: 2.026 MB / 0.8797 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.142, allocations: 7.906 kB / 0.8797 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.142, allocations: 8.188 kB / 0.8797 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/1.143, allocations: 420.7 kB / 0.8801 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.144, allocations: 277.5 kB / 0.8804 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/1.146, allocations: 1.503 MB / 0.8819 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/1.149, allocations: 361.9 kB / 0.8822 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.149, allocations: 61.36 kB / 0.8823 GB, free: 180.3 MB / 0.6856 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.0008608/1.15, allocations: 471.4 kB / 0.8827 GB, free: 180 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/1.15, allocations: 247.3 kB / 0.883 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/1.153, allocations: 1.486 MB / 0.8844 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/1.153, allocations: 17.73 kB / 0.8844 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.153, allocations: 2.734 kB / 0.8844 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.153, allocations: 10.22 kB / 0.8844 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/1.16, allocations: 3.598 MB / 0.888 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.16, allocations: 3.406 kB / 0.888 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/1.161, allocations: 130.1 kB / 0.8881 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/1.163, allocations: 411.4 kB / 0.8885 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/1.163, allocations: 29.5 kB / 0.8885 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/1.165, allocations: 1.574 MB / 0.89 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.165, allocations: 8.281 kB / 0.89 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00637/1.171, allocations: 1.935 MB / 0.8919 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.172, allocations: 484.6 kB / 0.8924 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003425/1.173, allocations: 24.14 kB / 0.8924 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.174, allocations: 139.4 kB / 0.8926 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/1.175, allocations: 57.89 kB / 0.8926 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.926e-05/1.175, allocations: 41.28 kB / 0.8926 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002795/1.177, allocations: 1.753 MB / 0.8944 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.343e-06/1.177, allocations: 0 / 0.8944 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002314/1.18, allocations: 0.6904 MB / 0.895 GB, free: 172.5 MB / 0.6856 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.001184/1.181, allocations: 0.6148 MB / 0.8956 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004032/1.185, allocations: 1.342 MB / 0.8969 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.185, allocations: 9.172 kB / 0.897 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.187, allocations: 0.6645 MB / 0.8976 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005808/1.193, allocations: 1.321 MB / 0.8989 GB, free: 170.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/1.199, allocations: 3.545 MB / 0.9024 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/1.2, allocations: 1.486 MB / 0.9038 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001788/1.202, allocations: 428.8 kB / 0.9042 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/1.202, allocations: 166 kB / 0.9044 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/1.202, allocations: 4 kB / 0.9044 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.06289/1.265, allocations: 48.57 MB / 0.9518 GB, free: 123.1 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)