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.001539/0.001539, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001649/0.001649, allocations: 183 kB / 17.34 MB, free: 5.75 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8573/0.8573, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.5 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1675, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07446/0.242, allocations: 70.44 MB / 0.7341 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4745/0.7166, allocations: 18.91 MB / 0.7525 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.72, allocations: 71.91 kB / 0.7526 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.7226, allocations: 0.815 MB / 0.7534 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008292/0.7309, allocations: 2.851 MB / 0.7562 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.7352, allocations: 1.65 MB / 0.7578 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006974/0.7422, allocations: 4.047 MB / 0.7617 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.7451, allocations: 1.451 MB / 0.7632 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005426/0.7505, allocations: 1.806 MB / 0.7649 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.7537, allocations: 1.183 MB / 0.7661 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005152/0.7543, allocations: 176.4 kB / 0.7663 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.7583, allocations: 1.413 MB / 0.7676 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005127/0.7588, allocations: 392.2 kB / 0.768 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.7605, allocations: 0.9167 MB / 0.7689 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005846/0.7663, allocations: 3.119 MB / 0.7719 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7664, allocations: 3.75 kB / 0.7719 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.007e-06/0.7664, allocations: 1.125 kB / 0.772 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.476e-05/0.7665, allocations: 3.938 kB / 0.772 GB, free: 16.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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004696/0.7712, allocations: 2.033 MB / 0.7739 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7712, allocations: 10.39 kB / 0.7739 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.7737, allocations: 444.8 kB / 0.7744 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.7768, allocations: 1.547 MB / 0.7759 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.7769, allocations: 80.16 kB / 0.776 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.7772, allocations: 104.8 kB / 0.7761 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.7801, allocations: 1.317 MB / 0.7773 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.7801, allocations: 2.469 kB / 0.7773 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.7802, allocations: 49.69 kB / 0.7774 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.7803, allocations: 26.16 kB / 0.7774 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.783, allocations: 1.098 MB / 0.7785 GB, free: 14.63 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.008329/0.7914, allocations: 7.503 MB / 0.7858 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.7945, allocations: 0.8042 MB / 0.7866 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.7952, allocations: 279.9 kB / 0.7869 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008665/0.7961, allocations: 1.722 MB / 0.7886 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.7961, allocations: 41.09 kB / 0.7886 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.444e-06/0.7961, allocations: 0 / 0.7886 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004952/0.8011, allocations: 1.343 MB / 0.7899 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.8011, allocations: 54.34 kB / 0.79 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.8035, allocations: 1.541 MB / 0.7915 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.711e-05/0.8037, allocations: 36.98 kB / 0.7915 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/0.8041, allocations: 0.6761 MB / 0.7922 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.8043, allocations: 175.2 kB / 0.7923 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.8046, allocations: 172.9 kB / 0.7925 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.8046, allocations: 331.8 kB / 0.7928 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009238/0.8056, allocations: 363.5 kB / 0.7932 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.8067, allocations: 0.6618 MB / 0.7938 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.8083, allocations: 0.8846 MB / 0.7947 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.8083, allocations: 5.312 kB / 0.7947 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002904/0.8112, allocations: 1.197 MB / 0.7958 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.8113, allocations: 12.31 kB / 0.7958 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.8113, allocations: 9.922 kB / 0.7959 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008461/0.8122, allocations: 222.9 kB / 0.7961 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.8129, allocations: 188.6 kB / 0.7963 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007351/0.8137, allocations: 0.7225 MB / 0.797 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.8156, allocations: 212.9 kB / 0.7972 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.8158, allocations: 41.08 kB / 0.7972 GB, free: 2.285 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 (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.0006764/0.8164, allocations: 355.5 kB / 0.7975 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/0.8168, allocations: 152 kB / 0.7977 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.819, allocations: 1.144 MB / 0.7988 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.8191, allocations: 10.77 kB / 0.7988 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8191, allocations: 0 / 0.7988 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.8191, allocations: 3.984 kB / 0.7988 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005367/0.8245, allocations: 2.512 MB / 0.8013 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.8245, allocations: 0 / 0.8013 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.8249, allocations: 80.14 kB / 0.8013 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007893/0.8257, allocations: 217.6 kB / 0.8016 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.8257, allocations: 15.02 kB / 0.8016 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.827, allocations: 0.7765 MB / 0.8023 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8271, allocations: 6.125 kB / 0.8023 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/0.8307, allocations: 1.201 MB / 0.8035 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000825/0.8315, allocations: 345.1 kB / 0.8038 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.8318, allocations: 17.47 kB / 0.8038 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009126/0.8327, allocations: 75.05 kB / 0.8039 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.8328, allocations: 46.31 kB / 0.804 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/0.8329, allocations: 24.33 kB / 0.804 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001784/0.8346, allocations: 1.083 MB / 0.805 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8347, allocations: 0 / 0.805 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001625/0.8363, allocations: 448 kB / 0.8055 GB, free: 12.99 MB / 0.5919 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.001008/0.8373, allocations: 479.8 kB / 0.8059 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.8395, allocations: 0.8578 MB / 0.8068 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8395, allocations: 0 / 0.8068 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.8409, allocations: 441.6 kB / 0.8072 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.8443, allocations: 0.7493 MB / 0.8079 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.8485, allocations: 2.28 MB / 0.8101 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.8492, allocations: 1.164 MB / 0.8113 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.8496, allocations: 115.6 kB / 0.8114 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of SimCode: time 7.32e-07/0.8496, allocations: 0 / 0.8114 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of Templates: time 0.04728/0.8969, allocations: 34.23 MB / 0.8448 GB, free: 8.738 MB / 0.6231 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)