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.007255/0.007255, allocations: 102.2 kB / 15.73 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.00167/0.00167, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9856/0.9856, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4538, allocations: 80.91 MB / 0.6646 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07298/0.5269, allocations: 70.45 MB / 0.7334 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02644/0.5533, allocations: 18.92 MB / 0.7519 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003515/0.5569, allocations: 67.62 kB / 0.752 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.5597, allocations: 0.8385 MB / 0.7528 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.5703, allocations: 3.006 MB / 0.7557 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.5752, allocations: 1.658 MB / 0.7573 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006318/0.5815, allocations: 4.043 MB / 0.7613 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.5838, allocations: 1.457 MB / 0.7627 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/0.5881, allocations: 1.812 MB / 0.7645 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.5901, allocations: 1.186 MB / 0.7656 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.5904, allocations: 176 kB / 0.7658 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.5934, allocations: 1.408 MB / 0.7672 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.5937, allocations: 394.6 kB / 0.7675 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.5948, allocations: 0.9177 MB / 0.7684 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004277/0.5991, allocations: 3.11 MB / 0.7715 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5991, allocations: 0 / 0.7715 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5991, allocations: 4 kB / 0.7715 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.13e-05/0.5992, allocations: 4 kB / 0.7715 GB, free: 3.852 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.003717/0.6029, allocations: 2.038 MB / 0.7735 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.6029, allocations: 8.031 kB / 0.7735 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.6053, allocations: 445.7 kB / 0.7739 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.608, allocations: 1.547 MB / 0.7754 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.6081, allocations: 78.03 kB / 0.7755 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6082, allocations: 108 kB / 0.7756 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.6108, allocations: 1.309 MB / 0.7769 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.6108, allocations: 7.938 kB / 0.7769 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.6109, allocations: 52 kB / 0.7769 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.611, allocations: 35.86 kB / 0.777 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/0.6137, allocations: 1.089 MB / 0.778 GB, free: 12.91 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.008982/0.6227, allocations: 7.493 MB / 0.7854 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.626, allocations: 0.8173 MB / 0.7862 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.6266, allocations: 282 kB / 0.7864 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.6279, allocations: 1.726 MB / 0.7881 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.628, allocations: 38.98 kB / 0.7881 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.395e-06/0.628, allocations: 0 / 0.7881 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004882/0.6329, allocations: 1.334 MB / 0.7894 GB, free: 284 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.6329, allocations: 55.84 kB / 0.7895 GB, free: 212 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.6352, allocations: 1.545 MB / 0.791 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.6353, allocations: 37.7 kB / 0.791 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.6359, allocations: 0.673 MB / 0.7917 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.636, allocations: 165.6 kB / 0.7919 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.6363, allocations: 182.4 kB / 0.792 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6365, allocations: 337.9 kB / 0.7924 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009768/0.6374, allocations: 357.8 kB / 0.7927 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6387, allocations: 0.6624 MB / 0.7933 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.6405, allocations: 0.8828 MB / 0.7942 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.6405, allocations: 0 / 0.7942 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003052/0.6436, allocations: 1.197 MB / 0.7954 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6436, allocations: 12.03 kB / 0.7954 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6437, allocations: 8 kB / 0.7954 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008867/0.6446, allocations: 216.6 kB / 0.7956 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.6453, allocations: 195.7 kB / 0.7958 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008892/0.6462, allocations: 0.7278 MB / 0.7965 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.6477, allocations: 206.7 kB / 0.7967 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.6478, allocations: 43.97 kB / 0.7967 GB, free: 8.492 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.0006047/0.6484, allocations: 355.1 kB / 0.7971 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.6487, allocations: 158 kB / 0.7972 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.6511, allocations: 1.141 MB / 0.7983 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.6511, allocations: 7.984 kB / 0.7983 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6511, allocations: 0 / 0.7983 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.6511, allocations: 4 kB / 0.7984 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.6561, allocations: 2.514 MB / 0.8008 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6561, allocations: 0 / 0.8008 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.6565, allocations: 87.88 kB / 0.8009 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007094/0.6572, allocations: 212.8 kB / 0.8011 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.6573, allocations: 16 kB / 0.8011 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.6585, allocations: 0.7708 MB / 0.8019 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6585, allocations: 4.031 kB / 0.8019 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.6618, allocations: 1.207 MB / 0.803 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.6624, allocations: 346.9 kB / 0.8034 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.6626, allocations: 12 kB / 0.8034 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/0.6635, allocations: 75.91 kB / 0.8035 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.6636, allocations: 40.45 kB / 0.8035 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.6637, allocations: 24.17 kB / 0.8035 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001817/0.6655, allocations: 1.086 MB / 0.8046 GB, free: 272 kB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6655, allocations: 3.938 kB / 0.8046 GB, free: 268 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001425/0.667, allocations: 451.4 kB / 0.805 GB, free: 15.82 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.0009752/0.6679, allocations: 482.5 kB / 0.8055 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.6703, allocations: 0.8446 MB / 0.8063 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6703, allocations: 0 / 0.8063 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.6716, allocations: 443.6 kB / 0.8067 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/0.675, allocations: 0.7417 MB / 0.8074 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.6791, allocations: 2.258 MB / 0.8097 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/0.68, allocations: 1.172 MB / 0.8108 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001294/0.6813, allocations: 264.2 kB / 0.811 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.6816, allocations: 119.3 kB / 0.8112 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of SimCode: time 1.442e-06/0.6816, allocations: 0 / 0.8112 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of Templates: time 0.05396/0.7356, allocations: 31.75 MB / 0.8422 GB, free: 10.03 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)