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.006648/0.006648, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00123/0.00123, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.95 kB / 0.5813 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5922/0.758, allocations: 132.2 MB / 0.7888 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03673/0.7948, allocations: 23.2 MB / 0.8114 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007831/0.8027, allocations: 124.8 kB / 0.8115 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005249/0.808, allocations: 1.534 MB / 0.813 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01535/0.8234, allocations: 4.306 MB / 0.8172 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006488/0.8299, allocations: 2.174 MB / 0.8194 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0121/0.842, allocations: 6.545 MB / 0.8258 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004235/0.8463, allocations: 2.368 MB / 0.8281 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008662/0.855, allocations: 2.829 MB / 0.8308 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004935/0.8599, allocations: 1.881 MB / 0.8327 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.8611, allocations: 247.2 kB / 0.8329 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006785/0.8679, allocations: 1.935 MB / 0.8348 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.869, allocations: 0.6067 MB / 0.8354 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002843/0.8718, allocations: 1.454 MB / 0.8368 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009121/0.881, allocations: 4.396 MB / 0.8411 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.881, allocations: 0 / 0.8411 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.384e-06/0.881, allocations: 4 kB / 0.8411 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.424e-05/0.8811, allocations: 0 / 0.8411 GB, free: 1.785 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.006805/0.8879, allocations: 3.188 MB / 0.8442 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.888, allocations: 8.031 kB / 0.8442 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.8926, allocations: 0.8395 MB / 0.845 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004941/0.8976, allocations: 2.327 MB / 0.8473 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.8978, allocations: 123 kB / 0.8474 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.898, allocations: 164 kB / 0.8476 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00434/0.9024, allocations: 1.921 MB / 0.8495 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.9024, allocations: 7.984 kB / 0.8495 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.9026, allocations: 64 kB / 0.8495 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.9026, allocations: 43.94 kB / 0.8496 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/0.9074, allocations: 1.803 MB / 0.8513 GB, free: 7.074 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.01431/0.9217, allocations: 8.977 MB / 0.8601 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.9262, allocations: 1.199 MB / 0.8613 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.9273, allocations: 466.1 kB / 0.8617 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.9286, allocations: 1.726 MB / 0.8634 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.9287, allocations: 42.56 kB / 0.8634 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.9287, allocations: 0 / 0.8634 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009145/0.9378, allocations: 2.334 MB / 0.8657 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.9379, allocations: 89.05 kB / 0.8658 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/0.9422, allocations: 2.528 MB / 0.8683 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.9424, allocations: 41.7 kB / 0.8683 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009895/0.9434, allocations: 1.045 MB / 0.8693 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.9437, allocations: 272.1 kB / 0.8696 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.9442, allocations: 254.6 kB / 0.8698 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9443, allocations: 349.9 kB / 0.8702 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.9461, allocations: 0.5725 MB / 0.8707 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.9483, allocations: 0.9504 MB / 0.8717 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003126/0.9514, allocations: 1.248 MB / 0.8729 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.9515, allocations: 3.938 kB / 0.8729 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006781/0.9583, allocations: 2.02 MB / 0.8749 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.9583, allocations: 8 kB / 0.8749 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.9583, allocations: 15.92 kB / 0.8749 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.9602, allocations: 497.3 kB / 0.8754 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.9616, allocations: 275.6 kB / 0.8756 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.9641, allocations: 1.516 MB / 0.8771 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/0.9677, allocations: 373.9 kB / 0.8775 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/0.968, allocations: 59.97 kB / 0.8775 GB, free: 10.8 MB / 0.6387 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.001134/0.9691, allocations: 453.5 kB / 0.8779 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/0.9697, allocations: 252.9 kB / 0.8782 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003751/0.9735, allocations: 1.507 MB / 0.8797 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.9735, allocations: 8 kB / 0.8797 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.9735, allocations: 0 / 0.8797 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.9735, allocations: 7.984 kB / 0.8797 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007939/0.9815, allocations: 3.625 MB / 0.8832 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.9815, allocations: 7.938 kB / 0.8832 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006447/0.9822, allocations: 132.1 kB / 0.8834 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.984, allocations: 491.4 kB / 0.8838 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.9841, allocations: 23.98 kB / 0.8838 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.9868, allocations: 1.592 MB / 0.8854 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.9868, allocations: 8.062 kB / 0.8854 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006368/0.9932, allocations: 1.931 MB / 0.8873 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.9944, allocations: 489.5 kB / 0.8878 GB, free: 52 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/0.9948, allocations: 19.94 kB / 0.8878 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.9966, allocations: 139.8 kB / 0.8879 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.9967, allocations: 55.88 kB / 0.888 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.9968, allocations: 47.89 kB / 0.888 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00321/1, allocations: 1.769 MB / 0.8897 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/1, allocations: 0 / 0.8897 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002241/1.002, allocations: 0.6867 MB / 0.8904 GB, free: 13.33 MB / 0.6544 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.001227/1.004, allocations: 0.612 MB / 0.891 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004236/1.008, allocations: 1.343 MB / 0.8923 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.008, allocations: 8.188 kB / 0.8923 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002553/1.01, allocations: 0.6749 MB / 0.893 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006395/1.017, allocations: 1.335 MB / 0.8943 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/1.023, allocations: 3.551 MB / 0.8978 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.024, allocations: 1.493 MB / 0.8992 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00186/1.026, allocations: 432.6 kB / 0.8996 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/1.027, allocations: 163.4 kB / 0.8998 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of SimCode: time 9.71e-07/1.027, allocations: 0 / 0.8998 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of Templates: time 0.08145/1.108, allocations: 48.8 MB / 0.9474 GB, free: 3.297 MB / 0.7012 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)