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.0009381/0.0009381, allocations: 90.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 177.3 kB / 16.92 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9098/0.9098, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 9.438 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 82.31 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3377/0.5138, allocations: 68.8 MB / 0.6558 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.5325, allocations: 18.77 MB / 0.6741 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.5346, allocations: 67.28 kB / 0.6742 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.5365, allocations: 0.6489 MB / 0.6748 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.5433, allocations: 2.608 MB / 0.6774 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.5472, allocations: 1.485 MB / 0.6788 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006898/0.5542, allocations: 5.016 MB / 0.6837 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.5562, allocations: 1.151 MB / 0.6848 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003309/0.5595, allocations: 1.453 MB / 0.6863 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.5613, allocations: 1.104 MB / 0.6873 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.5614, allocations: 56.53 kB / 0.6874 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.5641, allocations: 1.221 MB / 0.6886 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.5644, allocations: 265.3 kB / 0.6888 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009004/0.5653, allocations: 0.8008 MB / 0.6896 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.5682, allocations: 2.378 MB / 0.6919 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5683, allocations: 0 / 0.6919 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5683, allocations: 0 / 0.6919 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.5683, allocations: 1.562 kB / 0.6919 GB, free: 5.051 MB / 0.5137 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.003197/0.5715, allocations: 1.71 MB / 0.6936 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5715, allocations: 14.47 kB / 0.6936 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.5739, allocations: 0.5037 MB / 0.6941 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.5766, allocations: 1.509 MB / 0.6956 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.5771, allocations: 144.5 kB / 0.6957 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.5772, allocations: 106.4 kB / 0.6958 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.5801, allocations: 1.321 MB / 0.6971 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.5801, allocations: 5.188 kB / 0.6971 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.5803, allocations: 42.38 kB / 0.6972 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.5803, allocations: 25.94 kB / 0.6972 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.5832, allocations: 1.164 MB / 0.6983 GB, free: 1.633 MB / 0.5137 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.008754/0.592, allocations: 7.179 MB / 0.7053 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.5953, allocations: 0.8879 MB / 0.7062 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.5959, allocations: 303.1 kB / 0.7065 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.5971, allocations: 1.722 MB / 0.7082 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.5972, allocations: 45.97 kB / 0.7082 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.396e-06/0.5972, allocations: 0 / 0.7082 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005058/0.6023, allocations: 1.462 MB / 0.7097 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.6023, allocations: 57.19 kB / 0.7097 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.6049, allocations: 1.53 MB / 0.7112 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.605, allocations: 37.89 kB / 0.7112 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/0.6056, allocations: 0.6599 MB / 0.7119 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.6057, allocations: 176.3 kB / 0.712 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.6058, allocations: 57.19 kB / 0.7121 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6059, allocations: 336.1 kB / 0.7124 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.607, allocations: 386.9 kB / 0.7128 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.6082, allocations: 0.6647 MB / 0.7134 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.61, allocations: 0.8849 MB / 0.7143 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6101, allocations: 1.281 kB / 0.7143 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004616/0.6147, allocations: 1.446 MB / 0.7157 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.6147, allocations: 6.969 kB / 0.7157 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6147, allocations: 7.625 kB / 0.7157 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008878/0.6156, allocations: 224.4 kB / 0.7159 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.6164, allocations: 202.5 kB / 0.7161 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008317/0.6172, allocations: 0.7216 MB / 0.7168 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.619, allocations: 267.2 kB / 0.7171 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.6191, allocations: 44.8 kB / 0.7171 GB, free: 3.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.0006266/0.6197, allocations: 359.2 kB / 0.7175 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.62, allocations: 144 kB / 0.7176 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.6224, allocations: 1.178 MB / 0.7188 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.6224, allocations: 5.5 kB / 0.7188 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6224, allocations: 13.3 kB / 0.7188 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.6225, allocations: 3.984 kB / 0.7188 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/0.6277, allocations: 2.592 MB / 0.7213 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.6277, allocations: 6.969 kB / 0.7213 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.6281, allocations: 99.41 kB / 0.7214 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000739/0.6288, allocations: 217.2 kB / 0.7216 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.6289, allocations: 22.86 kB / 0.7217 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.6302, allocations: 0.7958 MB / 0.7224 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6302, allocations: 3.312 kB / 0.7224 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.6336, allocations: 1.29 MB / 0.7237 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/0.6342, allocations: 372.6 kB / 0.7241 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.6344, allocations: 11 kB / 0.7241 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009794/0.6354, allocations: 110.3 kB / 0.7242 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.6355, allocations: 43.11 kB / 0.7242 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/0.6355, allocations: 30.42 kB / 0.7242 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001668/0.6372, allocations: 1.087 MB / 0.7253 GB, free: 14.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6372, allocations: 0 / 0.7253 GB, free: 14.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001311/0.6385, allocations: 432.1 kB / 0.7257 GB, free: 14.34 MB / 0.545 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.0008199/0.6394, allocations: 471.8 kB / 0.7262 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002096/0.6415, allocations: 0.875 MB / 0.727 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6415, allocations: 7.938 kB / 0.727 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.6428, allocations: 473.5 kB / 0.7275 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/0.6464, allocations: 0.7099 MB / 0.7282 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.6506, allocations: 2.814 MB / 0.7309 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/0.6513, allocations: 1.158 MB / 0.732 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.6517, allocations: 127.4 kB / 0.7322 GB, free: 7.676 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.6517, allocations: 3.938 kB / 0.7322 GB, free: 7.672 MB / 0.545 GB Notification: Performance of Templates: time 0.04149/0.6932, allocations: 33.6 MB / 0.765 GB, free: 6.254 MB / 0.5762 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)