Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001076/0.001076, allocations: 108 kB / 15.61 MB, free: 152 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.001071/0.001071, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7449/0.7449, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001197, allocations: 64.17 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3766, allocations: 80.19 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1178/0.4945, allocations: 132.2 MB / 0.7092 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03197/0.5265, allocations: 23.2 MB / 0.7318 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005502/0.532, allocations: 119.3 kB / 0.7319 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.537, allocations: 1.502 MB / 0.7334 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.5495, allocations: 4.08 MB / 0.7374 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005338/0.5549, allocations: 2.144 MB / 0.7395 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009531/0.5644, allocations: 6.513 MB / 0.7458 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004165/0.5686, allocations: 2.367 MB / 0.7481 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006852/0.5755, allocations: 2.758 MB / 0.7508 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.5792, allocations: 1.875 MB / 0.7527 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009379/0.5802, allocations: 256 kB / 0.7529 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005132/0.5853, allocations: 1.93 MB / 0.7548 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009494/0.5863, allocations: 0.5875 MB / 0.7554 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.5889, allocations: 1.469 MB / 0.7568 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007505/0.5964, allocations: 4.327 MB / 0.761 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.5965, allocations: 0 / 0.761 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5965, allocations: 3.938 kB / 0.761 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.84e-05/0.5966, allocations: 0 / 0.761 GB, free: 7.664 MB / 0.5919 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.006528/0.6031, allocations: 3.187 MB / 0.7641 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6032, allocations: 8.031 kB / 0.7642 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/0.6076, allocations: 0.8396 MB / 0.765 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.6124, allocations: 2.221 MB / 0.7671 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009711/0.6134, allocations: 294.8 kB / 0.7674 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/0.6138, allocations: 164 kB / 0.7676 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/0.6183, allocations: 1.938 MB / 0.7695 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.6183, allocations: 3.938 kB / 0.7695 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.6185, allocations: 64 kB / 0.7695 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.6185, allocations: 40 kB / 0.7696 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004755/0.6233, allocations: 1.819 MB / 0.7714 GB, free: 12.86 MB / 0.6075 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.01374/0.637, allocations: 9.051 MB / 0.7802 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/0.6412, allocations: 1.2 MB / 0.7814 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.6423, allocations: 461.4 kB / 0.7818 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.6435, allocations: 1.726 MB / 0.7835 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.6435, allocations: 42.5 kB / 0.7835 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.354e-06/0.6435, allocations: 0 / 0.7835 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008499/0.652, allocations: 2.326 MB / 0.7858 GB, free: 13 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.6522, allocations: 89.05 kB / 0.7859 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005475/0.6576, allocations: 2.52 MB / 0.7883 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.658, allocations: 45.7 kB / 0.7884 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.6593, allocations: 1.037 MB / 0.7894 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005309/0.6598, allocations: 272.2 kB / 0.7897 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006612/0.6605, allocations: 254.6 kB / 0.7899 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.6607, allocations: 349.9 kB / 0.7902 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.6626, allocations: 0.5842 MB / 0.7908 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.6649, allocations: 0.9699 MB / 0.7918 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.6679, allocations: 1.265 MB / 0.793 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.6679, allocations: 4 kB / 0.793 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00696/0.6749, allocations: 2.047 MB / 0.795 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.675, allocations: 8 kB / 0.795 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.675, allocations: 8.625 kB / 0.795 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.677, allocations: 429.2 kB / 0.7954 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6782, allocations: 287.5 kB / 0.7957 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.6803, allocations: 1.498 MB / 0.7972 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.6831, allocations: 395.9 kB / 0.7975 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.6833, allocations: 55.97 kB / 0.7976 GB, free: 0.5195 MB / 0.6231 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.0009378/0.6843, allocations: 461.5 kB / 0.798 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006837/0.6849, allocations: 245 kB / 0.7983 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/0.6886, allocations: 1.494 MB / 0.7997 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.6887, allocations: 15.98 kB / 0.7997 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.6887, allocations: 3.938 kB / 0.7997 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6887, allocations: 7.984 kB / 0.7997 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/0.6963, allocations: 3.596 MB / 0.8033 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.6963, allocations: 4 kB / 0.8033 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.6969, allocations: 136.1 kB / 0.8034 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.6984, allocations: 419.5 kB / 0.8038 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.6985, allocations: 27.97 kB / 0.8038 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.7009, allocations: 1.561 MB / 0.8053 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.7009, allocations: 11.94 kB / 0.8054 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005873/0.7068, allocations: 1.935 MB / 0.8072 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.7079, allocations: 481.6 kB / 0.8077 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000554/0.7084, allocations: 23.98 kB / 0.8077 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/0.7103, allocations: 143.8 kB / 0.8079 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.7104, allocations: 63.8 kB / 0.8079 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.7105, allocations: 35.97 kB / 0.808 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00336/0.7138, allocations: 1.777 MB / 0.8097 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7139, allocations: 0 / 0.8097 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002097/0.716, allocations: 0.6827 MB / 0.8104 GB, free: 3.16 MB / 0.6387 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.001285/0.7173, allocations: 0.6181 MB / 0.811 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00438/0.7216, allocations: 1.412 MB / 0.8123 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/0.7217, allocations: 4.188 kB / 0.8123 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.724, allocations: 0.6639 MB / 0.813 GB, free: 464 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2998/1.024, allocations: 1.33 MB / 0.8143 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/1.032, allocations: 3.571 MB / 0.8178 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.034, allocations: 1.487 MB / 0.8192 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002657/1.036, allocations: 434.3 kB / 0.8196 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/1.037, allocations: 173.2 kB / 0.8198 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.012e-06/1.037, allocations: 0 / 0.8198 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.07132/1.108, allocations: 50.95 MB / 0.8696 GB, free: 178.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)