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.0009032/0.0009029, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009648/0.0009649, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 8 kB / 0.507 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1995, allocations: 82.31 MB / 0.5874 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5106/0.7102, allocations: 122.1 MB / 0.7066 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03684/0.7471, allocations: 21.75 MB / 0.7279 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007092/0.7542, allocations: 109.4 kB / 0.728 GB, free: 6.016 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005429/0.7596, allocations: 1 MB / 0.729 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0175/0.7772, allocations: 3.174 MB / 0.7321 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006957/0.7841, allocations: 1.504 MB / 0.7335 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01329/0.7975, allocations: 7.198 MB / 0.7406 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.8013, allocations: 1.667 MB / 0.7422 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0078/0.8091, allocations: 2.157 MB / 0.7443 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004328/0.8135, allocations: 1.676 MB / 0.7459 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004728/0.814, allocations: 92 kB / 0.746 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005249/0.8192, allocations: 1.22 MB / 0.7472 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005642/0.8198, allocations: 417.9 kB / 0.7476 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.8212, allocations: 0.5511 MB / 0.7481 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004907/0.8262, allocations: 3.141 MB / 0.7512 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8262, allocations: 3.938 kB / 0.7512 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8262, allocations: 0 / 0.7512 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.548e-05/0.8263, allocations: 0 / 0.7512 GB, free: 4.887 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.005763/0.832, allocations: 2.706 MB / 0.7539 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8321, allocations: 13.09 kB / 0.7539 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.8361, allocations: 0.9528 MB / 0.7548 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005347/0.8415, allocations: 2.202 MB / 0.7569 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008952/0.8424, allocations: 322.8 kB / 0.7573 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000454/0.8429, allocations: 164 kB / 0.7574 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/0.8472, allocations: 1.981 MB / 0.7593 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.8473, allocations: 0 / 0.7593 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.8474, allocations: 64 kB / 0.7594 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.8475, allocations: 36 kB / 0.7594 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00453/0.852, allocations: 1.893 MB / 0.7613 GB, free: 10.34 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.01336/0.8654, allocations: 9.074 MB / 0.7701 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.8692, allocations: 1.29 MB / 0.7714 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009905/0.8702, allocations: 481.4 kB / 0.7719 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.8714, allocations: 1.726 MB / 0.7736 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.8715, allocations: 46.31 kB / 0.7736 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.935e-06/0.8715, allocations: 0 / 0.7736 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007842/0.8793, allocations: 2.488 MB / 0.776 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.8794, allocations: 89.05 kB / 0.7761 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.8832, allocations: 2.492 MB / 0.7785 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.8833, allocations: 45.7 kB / 0.7786 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009473/0.8843, allocations: 1.041 MB / 0.7796 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.8846, allocations: 272.1 kB / 0.7799 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.8846, allocations: 20 kB / 0.7799 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8848, allocations: 353.9 kB / 0.7802 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.8864, allocations: 0.6232 MB / 0.7808 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.8882, allocations: 1.005 MB / 0.7818 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.8899, allocations: 0.6819 MB / 0.7825 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.8899, allocations: 4 kB / 0.7825 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004651/0.8946, allocations: 1.967 MB / 0.7844 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.8946, allocations: 8 kB / 0.7844 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.8946, allocations: 8 kB / 0.7844 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.8962, allocations: 437.9 kB / 0.7848 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.8973, allocations: 307.5 kB / 0.7851 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.8994, allocations: 1.542 MB / 0.7866 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.9025, allocations: 483.1 kB / 0.7871 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/0.9027, allocations: 59.97 kB / 0.7872 GB, free: 14.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.00175/0.9045, allocations: 457.5 kB / 0.7876 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.9056, allocations: 249 kB / 0.7878 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/0.9107, allocations: 1.552 MB / 0.7893 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.621e-05/0.9107, allocations: 12 kB / 0.7894 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/0.9108, allocations: 0 / 0.7894 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.9108, allocations: 3.984 kB / 0.7894 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.9213, allocations: 3.698 MB / 0.793 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.9214, allocations: 0 / 0.793 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.922, allocations: 140.2 kB / 0.7931 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.9235, allocations: 437.2 kB / 0.7935 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/0.9236, allocations: 23.98 kB / 0.7935 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.9261, allocations: 1.635 MB / 0.7951 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.9261, allocations: 4.781 kB / 0.7951 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00592/0.932, allocations: 2.064 MB / 0.7972 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.9338, allocations: 0.5093 MB / 0.7977 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008319/0.9346, allocations: 19.94 kB / 0.7977 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/0.9369, allocations: 199.6 kB / 0.7979 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.937, allocations: 59.86 kB / 0.7979 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.9371, allocations: 39.97 kB / 0.798 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003987/0.9411, allocations: 1.75 MB / 0.7997 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.21e-07/0.9411, allocations: 0 / 0.7997 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003191/0.9443, allocations: 0.6749 MB / 0.8003 GB, free: 0.7227 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001578/0.9459, allocations: 0.5817 MB / 0.8009 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004361/0.9503, allocations: 1.433 MB / 0.8023 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.9503, allocations: 0 / 0.8023 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.9526, allocations: 0.7149 MB / 0.803 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008077/0.9607, allocations: 1.275 MB / 0.8042 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009335/0.9701, allocations: 4.178 MB / 0.8083 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.9722, allocations: 1.49 MB / 0.8098 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003013/0.9753, allocations: 432.9 kB / 0.8102 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/0.9759, allocations: 171.4 kB / 0.8104 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.976, allocations: 0 / 0.8104 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of Templates: time 0.08883/1.065, allocations: 46.72 MB / 0.856 GB, free: 8.199 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)