Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005263/0.005263, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001336/0.001336, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.547/1.547, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.082/1.082, allocations: 135.6 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.91 kB / 0.5862 GB, free: 2.742 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5496, allocations: 81.03 MB / 0.6654 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0804/0.63, allocations: 70.45 MB / 0.7341 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0289/0.659, allocations: 18.9 MB / 0.7526 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/0.6632, allocations: 71.56 kB / 0.7527 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.6667, allocations: 0.8228 MB / 0.7535 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.6774, allocations: 2.851 MB / 0.7563 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005381/0.6828, allocations: 1.649 MB / 0.7579 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007421/0.6902, allocations: 4.046 MB / 0.7618 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.6933, allocations: 1.457 MB / 0.7633 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006718/0.7001, allocations: 1.772 MB / 0.765 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.7032, allocations: 1.18 MB / 0.7661 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000704/0.7039, allocations: 176 kB / 0.7663 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.7081, allocations: 1.416 MB / 0.7677 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007395/0.7089, allocations: 390.6 kB / 0.7681 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.711, allocations: 0.9177 MB / 0.769 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006976/0.718, allocations: 3.128 MB / 0.772 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.718, allocations: 0 / 0.772 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.285e-06/0.718, allocations: 0 / 0.772 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.456e-05/0.7181, allocations: 0 / 0.772 GB, free: 3.434 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005446/0.7236, allocations: 2.087 MB / 0.774 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7236, allocations: 12.03 kB / 0.7741 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.7262, allocations: 458.5 kB / 0.7745 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/0.7303, allocations: 1.556 MB / 0.776 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.7304, allocations: 78.03 kB / 0.7761 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.7307, allocations: 103.9 kB / 0.7762 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.734, allocations: 1.317 MB / 0.7775 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.734, allocations: 3.938 kB / 0.7775 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.7342, allocations: 44 kB / 0.7775 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.7342, allocations: 31.92 kB / 0.7775 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.7373, allocations: 1.108 MB / 0.7786 GB, free: 12.41 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.01069/0.7481, allocations: 7.502 MB / 0.786 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.7513, allocations: 0.7979 MB / 0.7867 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/0.752, allocations: 293.9 kB / 0.787 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.7535, allocations: 1.718 MB / 0.7887 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.7536, allocations: 39 kB / 0.7887 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 4.689e-06/0.7536, allocations: 4 kB / 0.7887 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.005175/0.7588, allocations: 1.347 MB / 0.7901 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.7588, allocations: 55.84 kB / 0.7901 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.7623, allocations: 1.545 MB / 0.7916 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.7624, allocations: 37.7 kB / 0.7917 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/0.7632, allocations: 0.678 MB / 0.7923 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.7635, allocations: 182.5 kB / 0.7925 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.7639, allocations: 178.5 kB / 0.7927 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.764, allocations: 333.9 kB / 0.793 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.7651, allocations: 369.8 kB / 0.7933 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.7665, allocations: 0.6585 MB / 0.794 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.7686, allocations: 0.8828 MB / 0.7948 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.7686, allocations: 4 kB / 0.7948 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003503/0.7721, allocations: 1.194 MB / 0.796 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.7722, allocations: 11.94 kB / 0.796 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.7722, allocations: 8 kB / 0.796 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.7733, allocations: 224.6 kB / 0.7962 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/0.7741, allocations: 191.7 kB / 0.7964 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.7752, allocations: 0.7317 MB / 0.7971 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.7773, allocations: 219 kB / 0.7973 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.7774, allocations: 43.97 kB / 0.7974 GB, free: 7.949 MB / 0.6231 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009332/0.7784, allocations: 362.2 kB / 0.7977 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/0.7789, allocations: 159 kB / 0.7979 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.7819, allocations: 1.133 MB / 0.799 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/0.7819, allocations: 8 kB / 0.799 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.7819, allocations: 3.984 kB / 0.799 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.782, allocations: 0 / 0.799 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00621/0.7882, allocations: 2.514 MB / 0.8015 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.7882, allocations: 4 kB / 0.8015 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.7886, allocations: 83.88 kB / 0.8015 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008644/0.7895, allocations: 216.8 kB / 0.8017 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.7896, allocations: 12 kB / 0.8018 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.791, allocations: 0.7825 MB / 0.8025 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.791, allocations: 0 / 0.8025 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.7948, allocations: 1.215 MB / 0.8037 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009085/0.7957, allocations: 355.8 kB / 0.804 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/0.7962, allocations: 20 kB / 0.8041 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.7974, allocations: 67.91 kB / 0.8041 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.7975, allocations: 40.52 kB / 0.8042 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/0.7976, allocations: 23.98 kB / 0.8042 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002667/0.8003, allocations: 1.086 MB / 0.8053 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8003, allocations: 4 kB / 0.8053 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001925/0.8023, allocations: 455 kB / 0.8057 GB, free: 15.25 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/0.8035, allocations: 488.5 kB / 0.8062 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.8061, allocations: 0.8487 MB / 0.807 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.8061, allocations: 0 / 0.807 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.8076, allocations: 435.4 kB / 0.8074 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/0.8119, allocations: 0.7274 MB / 0.8081 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.8173, allocations: 2.298 MB / 0.8104 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.8186, allocations: 1.172 MB / 0.8115 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001554/0.8201, allocations: 264.1 kB / 0.8118 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.8206, allocations: 115.4 kB / 0.8119 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of SimCode: time 1.132e-06/0.8206, allocations: 0 / 0.8119 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of Templates: time 0.06281/0.8834, allocations: 31.74 MB / 0.8429 GB, free: 9.434 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)