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.007535/0.007535, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.00136/0.00136, allocations: 189 kB / 16.67 MB, free: 5.969 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7362/0.7362, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 62.94 kB / 0.5813 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1479, allocations: 80.2 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.503/0.6509, allocations: 132.2 MB / 0.7888 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0307/0.6817, allocations: 23.19 MB / 0.8114 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00583/0.6875, allocations: 129 kB / 0.8115 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004074/0.6917, allocations: 1.487 MB / 0.813 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.704, allocations: 4.096 MB / 0.817 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00705/0.7111, allocations: 2.162 MB / 0.8191 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.7224, allocations: 6.539 MB / 0.8255 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.7267, allocations: 2.359 MB / 0.8278 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008299/0.735, allocations: 2.772 MB / 0.8305 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004584/0.7396, allocations: 1.888 MB / 0.8323 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000605/0.7403, allocations: 247.7 kB / 0.8326 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005264/0.7455, allocations: 1.935 MB / 0.8345 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007033/0.7463, allocations: 0.6023 MB / 0.8351 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002378/0.7487, allocations: 1.461 MB / 0.8365 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008401/0.7571, allocations: 4.41 MB / 0.8408 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7571, allocations: 0 / 0.8408 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7571, allocations: 4 kB / 0.8408 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.596e-05/0.7572, allocations: 3.938 kB / 0.8408 GB, free: 2.305 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.005344/0.7625, allocations: 3.275 MB / 0.844 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7626, allocations: 12.03 kB / 0.844 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/0.7666, allocations: 0.8605 MB / 0.8448 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003966/0.7706, allocations: 2.325 MB / 0.8471 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.757e-05/0.7707, allocations: 123 kB / 0.8472 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.7709, allocations: 164 kB / 0.8474 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.7746, allocations: 1.926 MB / 0.8493 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.7746, allocations: 3.938 kB / 0.8493 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.7748, allocations: 64 kB / 0.8493 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.7748, allocations: 39.94 kB / 0.8494 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004225/0.779, allocations: 1.796 MB / 0.8511 GB, free: 7.496 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.01226/0.7913, allocations: 9.03 MB / 0.8599 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.7954, allocations: 1.19 MB / 0.8611 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.7965, allocations: 465.4 kB / 0.8616 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.7976, allocations: 1.719 MB / 0.8632 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.7977, allocations: 46.5 kB / 0.8633 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.046e-06/0.7977, allocations: 4 kB / 0.8633 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008223/0.8059, allocations: 2.344 MB / 0.8656 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.806, allocations: 93.03 kB / 0.8657 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.8105, allocations: 2.528 MB / 0.8681 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.8106, allocations: 45.7 kB / 0.8682 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000874/0.8115, allocations: 1.054 MB / 0.8692 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.8118, allocations: 281.6 kB / 0.8695 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004613/0.8122, allocations: 262.7 kB / 0.8697 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.8124, allocations: 345.9 kB / 0.87 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.814, allocations: 0.5763 MB / 0.8706 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.8159, allocations: 0.9504 MB / 0.8715 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.8188, allocations: 1.24 MB / 0.8727 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.8188, allocations: 7.938 kB / 0.8728 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006197/0.8251, allocations: 2.037 MB / 0.8747 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.8251, allocations: 12 kB / 0.8748 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8251, allocations: 8 kB / 0.8748 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/0.827, allocations: 493.1 kB / 0.8752 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.8282, allocations: 279.6 kB / 0.8755 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.8303, allocations: 1.517 MB / 0.877 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.833, allocations: 376.1 kB / 0.8773 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.8331, allocations: 59.97 kB / 0.8774 GB, free: 11.14 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.0008791/0.834, allocations: 465.4 kB / 0.8778 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006485/0.8347, allocations: 258.3 kB / 0.8781 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/0.8384, allocations: 1.496 MB / 0.8795 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.8384, allocations: 19.98 kB / 0.8796 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.8384, allocations: 7.984 kB / 0.8796 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.8384, allocations: 3.984 kB / 0.8796 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007689/0.8461, allocations: 3.625 MB / 0.8831 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.8462, allocations: 3.938 kB / 0.8831 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.8468, allocations: 128.2 kB / 0.8832 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.8484, allocations: 485 kB / 0.8837 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.864e-05/0.8485, allocations: 31.92 kB / 0.8837 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.851, allocations: 1.59 MB / 0.8853 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8511, allocations: 4 kB / 0.8853 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005997/0.8571, allocations: 1.948 MB / 0.8872 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.8585, allocations: 0.4912 MB / 0.8877 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008264/0.8594, allocations: 27.94 kB / 0.8877 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/0.8617, allocations: 135.8 kB / 0.8878 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.8618, allocations: 47.92 kB / 0.8879 GB, free: 144 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.8619, allocations: 47.91 kB / 0.8879 GB, free: 96 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004495/0.8665, allocations: 1.773 MB / 0.8897 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8665, allocations: 0 / 0.8897 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00269/0.8692, allocations: 0.6979 MB / 0.8903 GB, free: 13.62 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.001512/0.8707, allocations: 0.621 MB / 0.8909 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004188/0.8749, allocations: 1.346 MB / 0.8923 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.8749, allocations: 0 / 0.8923 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002257/0.8772, allocations: 0.6791 MB / 0.8929 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006361/0.8835, allocations: 1.339 MB / 0.8942 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/0.8905, allocations: 3.611 MB / 0.8978 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.892, allocations: 1.49 MB / 0.8992 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001931/0.894, allocations: 432.5 kB / 0.8996 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.8945, allocations: 167.4 kB / 0.8998 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.8945, allocations: 0 / 0.8998 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of Templates: time 0.07345/0.968, allocations: 48.8 MB / 0.9474 GB, free: 3.488 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)