Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 115 kB / 16.37 MB, free: 6.016 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.001213/0.001213, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8564/0.8564, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4205, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1209/0.5414, allocations: 132.2 MB / 0.7106 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03419/0.5756, allocations: 23.19 MB / 0.7333 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005995/0.5817, allocations: 123.2 kB / 0.7334 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005052/0.5867, allocations: 1.502 MB / 0.7348 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.5994, allocations: 4.084 MB / 0.7388 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006606/0.606, allocations: 2.162 MB / 0.7409 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.6165, allocations: 6.539 MB / 0.7473 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004977/0.6215, allocations: 2.365 MB / 0.7496 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4202/1.042, allocations: 2.754 MB / 0.7523 GB, free: 47.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/1.046, allocations: 1.89 MB / 0.7542 GB, free: 47.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007651/1.047, allocations: 247.6 kB / 0.7544 GB, free: 47.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006245/1.053, allocations: 1.934 MB / 0.7563 GB, free: 47.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008126/1.054, allocations: 0.6021 MB / 0.7569 GB, free: 47.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002972/1.057, allocations: 1.457 MB / 0.7583 GB, free: 46.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009304/1.067, allocations: 4.383 MB / 0.7626 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.067, allocations: 0 / 0.7626 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.575e-06/1.067, allocations: 2.719 kB / 0.7626 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.22e-05/1.067, allocations: 0 / 0.7626 GB, free: 46.52 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.007841/1.075, allocations: 3.188 MB / 0.7657 GB, free: 45.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.075, allocations: 9.844 kB / 0.7657 GB, free: 45.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00453/1.079, allocations: 0.8438 MB / 0.7665 GB, free: 44.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/1.084, allocations: 2.323 MB / 0.7688 GB, free: 44.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.084, allocations: 128.7 kB / 0.7689 GB, free: 44.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/1.084, allocations: 158.9 kB / 0.7691 GB, free: 44.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/1.089, allocations: 1.923 MB / 0.771 GB, free: 44.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/1.089, allocations: 2.406 kB / 0.771 GB, free: 44.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/1.089, allocations: 63.19 kB / 0.771 GB, free: 44.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/1.089, allocations: 40.92 kB / 0.7711 GB, free: 44.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/1.094, allocations: 1.799 MB / 0.7728 GB, free: 44.07 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.01409/1.108, allocations: 8.981 MB / 0.7816 GB, free: 39.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/1.112, allocations: 1.204 MB / 0.7828 GB, free: 39.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009842/1.113, allocations: 469.2 kB / 0.7832 GB, free: 39.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008428/1.114, allocations: 1.717 MB / 0.7849 GB, free: 37.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/1.114, allocations: 42.53 kB / 0.7849 GB, free: 37.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/1.114, allocations: 0 / 0.7849 GB, free: 37.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008148/1.122, allocations: 2.344 MB / 0.7872 GB, free: 37.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.122, allocations: 86.52 kB / 0.7873 GB, free: 37.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/1.126, allocations: 2.523 MB / 0.7898 GB, free: 36.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/1.127, allocations: 45.98 kB / 0.7898 GB, free: 36.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008972/1.128, allocations: 1.045 MB / 0.7908 GB, free: 36.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/1.128, allocations: 266.2 kB / 0.7911 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004698/1.128, allocations: 255.8 kB / 0.7913 GB, free: 36.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/1.128, allocations: 344.6 kB / 0.7916 GB, free: 36.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/1.13, allocations: 0.5752 MB / 0.7922 GB, free: 36.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/1.132, allocations: 0.9522 MB / 0.7931 GB, free: 35.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/1.134, allocations: 1.253 MB / 0.7944 GB, free: 35.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.134, allocations: 3.562 kB / 0.7944 GB, free: 35.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005916/1.14, allocations: 2.022 MB / 0.7963 GB, free: 35.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.14, allocations: 11.12 kB / 0.7964 GB, free: 35.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.14, allocations: 6.781 kB / 0.7964 GB, free: 35.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/1.142, allocations: 499.8 kB / 0.7968 GB, free: 35.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.143, allocations: 278.4 kB / 0.7971 GB, free: 35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/1.145, allocations: 1.515 MB / 0.7986 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/1.149, allocations: 373.4 kB / 0.7989 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/1.149, allocations: 59.59 kB / 0.799 GB, free: 33.84 MB / 0.5762 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.15, allocations: 461.3 kB / 0.7994 GB, free: 33.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006571/1.151, allocations: 249.9 kB / 0.7997 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/1.154, allocations: 1.497 MB / 0.8011 GB, free: 33.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.154, allocations: 18.42 kB / 0.8011 GB, free: 33.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.154, allocations: 3.188 kB / 0.8012 GB, free: 33.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.154, allocations: 4.312 kB / 0.8012 GB, free: 33.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007936/1.162, allocations: 3.614 MB / 0.8047 GB, free: 32.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.162, allocations: 2.781 kB / 0.8047 GB, free: 32.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/1.163, allocations: 131.4 kB / 0.8048 GB, free: 32.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/1.164, allocations: 488.9 kB / 0.8053 GB, free: 32.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.096e-05/1.164, allocations: 31.81 kB / 0.8053 GB, free: 32.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.167, allocations: 1.583 MB / 0.8069 GB, free: 30.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.167, allocations: 8.312 kB / 0.8069 GB, free: 30.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/1.172, allocations: 1.928 MB / 0.8087 GB, free: 30.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.174, allocations: 499.7 kB / 0.8092 GB, free: 29.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000565/1.174, allocations: 18.25 kB / 0.8092 GB, free: 29.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.176, allocations: 139 kB / 0.8094 GB, free: 29.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.176, allocations: 62.33 kB / 0.8094 GB, free: 29.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/1.176, allocations: 41 kB / 0.8095 GB, free: 29.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002827/1.179, allocations: 1.779 MB / 0.8112 GB, free: 29.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.21e-07/1.179, allocations: 0 / 0.8112 GB, free: 29.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002884/1.182, allocations: 0.6944 MB / 0.8119 GB, free: 29.15 MB / 0.5762 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/1.183, allocations: 0.6126 MB / 0.8125 GB, free: 28.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003848/1.187, allocations: 1.354 MB / 0.8138 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.187, allocations: 0 / 0.8138 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/1.189, allocations: 0.6833 MB / 0.8145 GB, free: 27.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/1.195, allocations: 1.337 MB / 0.8158 GB, free: 26.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/1.201, allocations: 3.544 MB / 0.8192 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/1.201, allocations: 1.485 MB / 0.8207 GB, free: 21.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001807/1.203, allocations: 440.7 kB / 0.8211 GB, free: 21.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/1.204, allocations: 166.5 kB / 0.8213 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.204, allocations: 0 / 0.8213 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.07312/1.277, allocations: 48.39 MB / 0.8685 GB, free: 5.93 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)