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.0009079/0.0009079, allocations: 92 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.001049/0.001049, allocations: 179.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.323/1.323, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9183/0.9183, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 82.32 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.419/0.5817, allocations: 129.3 MB / 0.7149 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03286/0.6147, allocations: 23.02 MB / 0.7374 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005193/0.6199, allocations: 108.8 kB / 0.7375 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004557/0.6245, allocations: 1.211 MB / 0.7386 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.6372, allocations: 3.774 MB / 0.7423 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006137/0.6434, allocations: 1.96 MB / 0.7442 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.6549, allocations: 8.278 MB / 0.7523 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003754/0.6587, allocations: 1.916 MB / 0.7542 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005891/0.6646, allocations: 2.305 MB / 0.7564 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.6684, allocations: 1.788 MB / 0.7582 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006607/0.669, allocations: 88 kB / 0.7583 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005047/0.6741, allocations: 1.715 MB / 0.76 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007709/0.6749, allocations: 441.7 kB / 0.7604 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00247/0.6774, allocations: 1.303 MB / 0.7616 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004654/0.682, allocations: 3.25 MB / 0.7648 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6821, allocations: 0 / 0.7648 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6821, allocations: 0 / 0.7648 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.855e-05/0.6821, allocations: 0 / 0.7648 GB, free: 7.719 MB / 0.5762 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.004982/0.6871, allocations: 2.682 MB / 0.7674 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6872, allocations: 8.031 kB / 0.7674 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/0.6918, allocations: 0.9606 MB / 0.7684 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004357/0.6962, allocations: 2.287 MB / 0.7706 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009862/0.6972, allocations: 326.8 kB / 0.7709 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/0.6974, allocations: 164 kB / 0.7711 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/0.7016, allocations: 1.977 MB / 0.773 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.7016, allocations: 0 / 0.773 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.7018, allocations: 67.94 kB / 0.7731 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.7018, allocations: 36 kB / 0.7731 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004845/0.7067, allocations: 1.901 MB / 0.775 GB, free: 13.09 MB / 0.5919 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.01263/0.7193, allocations: 9.086 MB / 0.7838 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/0.7238, allocations: 1.296 MB / 0.7851 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.7249, allocations: 485.4 kB / 0.7856 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.7261, allocations: 1.718 MB / 0.7873 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.7261, allocations: 50.25 kB / 0.7873 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.7262, allocations: 0 / 0.7873 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.00902/0.7352, allocations: 2.5 MB / 0.7897 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.7352, allocations: 89.09 kB / 0.7898 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0041/0.7394, allocations: 2.516 MB / 0.7923 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.7395, allocations: 41.7 kB / 0.7923 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000858/0.7404, allocations: 1.049 MB / 0.7933 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.7407, allocations: 268.2 kB / 0.7936 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.7408, allocations: 89.67 kB / 0.7937 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.741, allocations: 349.9 kB / 0.794 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.7428, allocations: 0.6388 MB / 0.7946 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.745, allocations: 1.009 MB / 0.7956 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.7481, allocations: 1.324 MB / 0.7969 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.7482, allocations: 4 kB / 0.7969 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007001/0.7552, allocations: 2.185 MB / 0.7991 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.7552, allocations: 12.03 kB / 0.7991 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.7552, allocations: 8 kB / 0.7991 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.7569, allocations: 440.3 kB / 0.7995 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.7581, allocations: 307.6 kB / 0.7998 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.7604, allocations: 1.548 MB / 0.8013 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.7634, allocations: 481.9 kB / 0.8018 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.7636, allocations: 55.97 kB / 0.8018 GB, free: 144 kB / 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.0009115/0.7645, allocations: 463 kB / 0.8023 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.7649, allocations: 256.8 kB / 0.8025 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/0.7686, allocations: 1.544 MB / 0.804 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.7686, allocations: 11.98 kB / 0.804 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7687, allocations: 0 / 0.804 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.7687, allocations: 3.984 kB / 0.804 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007506/0.7762, allocations: 3.697 MB / 0.8076 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.7762, allocations: 4 kB / 0.8076 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.7768, allocations: 140.2 kB / 0.8078 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.7783, allocations: 445.2 kB / 0.8082 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.7784, allocations: 23.98 kB / 0.8082 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.781, allocations: 1.635 MB / 0.8098 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.781, allocations: 4 kB / 0.8098 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00615/0.7872, allocations: 2.076 MB / 0.8119 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009791/0.7882, allocations: 0.5054 MB / 0.8123 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.7885, allocations: 23.94 kB / 0.8124 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.7903, allocations: 195.7 kB / 0.8126 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.7904, allocations: 55.88 kB / 0.8126 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.942e-05/0.7904, allocations: 39.95 kB / 0.8126 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002887/0.7933, allocations: 1.773 MB / 0.8144 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7934, allocations: 0 / 0.8144 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001834/0.7952, allocations: 0.6788 MB / 0.815 GB, free: 2.312 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.001033/0.7962, allocations: 0.6008 MB / 0.8156 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00415/0.8004, allocations: 1.448 MB / 0.817 GB, free: 272 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8004, allocations: 0 / 0.817 GB, free: 272 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.8028, allocations: 0.7231 MB / 0.8177 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007165/0.81, allocations: 1.319 MB / 0.819 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006604/0.8166, allocations: 4.384 MB / 0.8233 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/0.8176, allocations: 1.483 MB / 0.8248 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/0.8183, allocations: 195.4 kB / 0.8249 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.8183, allocations: 0 / 0.8249 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of Templates: time 0.3097/1.128, allocations: 61.66 MB / 0.8852 GB, free: 209.7 MB / 0.67 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)