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.001364/0.001364, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001285/0.001286, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9766/0.9766, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001939, allocations: 72.91 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 81.02 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3198/0.494, allocations: 69.85 MB / 0.6527 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.5136, allocations: 18.78 MB / 0.671 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.5161, allocations: 62.34 kB / 0.6711 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.5183, allocations: 0.7001 MB / 0.6718 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007688/0.5261, allocations: 2.649 MB / 0.6744 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.5304, allocations: 1.51 MB / 0.6758 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006348/0.5368, allocations: 4.064 MB / 0.6798 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.5393, allocations: 1.444 MB / 0.6812 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/0.5441, allocations: 1.789 MB / 0.683 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/0.547, allocations: 1.212 MB / 0.6842 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003628/0.5473, allocations: 176.4 kB / 0.6843 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.551, allocations: 1.426 MB / 0.6857 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.5514, allocations: 395.5 kB / 0.6861 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.5528, allocations: 0.9263 MB / 0.687 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.5581, allocations: 3.11 MB / 0.69 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5581, allocations: 0 / 0.69 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5581, allocations: 1.188 kB / 0.69 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.225e-05/0.5581, allocations: 0 / 0.69 GB, free: 3.242 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.004194/0.5623, allocations: 2.025 MB / 0.692 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5624, allocations: 9.406 kB / 0.692 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.5647, allocations: 447.8 kB / 0.6925 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.5676, allocations: 1.509 MB / 0.6939 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003846/0.568, allocations: 136.8 kB / 0.6941 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.5682, allocations: 102.8 kB / 0.6942 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.5709, allocations: 1.295 MB / 0.6954 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.5709, allocations: 9.094 kB / 0.6954 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.571, allocations: 48.36 kB / 0.6955 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.5711, allocations: 29 kB / 0.6955 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.5738, allocations: 1.104 MB / 0.6966 GB, free: 15.63 MB / 0.5294 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.009625/0.5835, allocations: 7.134 MB / 0.7035 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/0.5866, allocations: 0.7988 MB / 0.7043 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006099/0.5872, allocations: 287 kB / 0.7046 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.5887, allocations: 1.721 MB / 0.7063 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.5888, allocations: 46.06 kB / 0.7063 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.5888, allocations: 0 / 0.7063 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004767/0.5936, allocations: 1.332 MB / 0.7076 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.5936, allocations: 60.53 kB / 0.7077 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.5961, allocations: 1.521 MB / 0.7092 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5962, allocations: 36.64 kB / 0.7092 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006282/0.5968, allocations: 0.6693 MB / 0.7099 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.597, allocations: 172 kB / 0.71 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.5973, allocations: 162.4 kB / 0.7102 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5975, allocations: 339 kB / 0.7105 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009651/0.5985, allocations: 358.4 kB / 0.7108 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.5997, allocations: 0.6375 MB / 0.7115 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.6015, allocations: 0.8489 MB / 0.7123 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/0.6016, allocations: 2.375 kB / 0.7123 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004382/0.6059, allocations: 1.334 MB / 0.7136 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.606, allocations: 8.25 kB / 0.7136 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.606, allocations: 6.469 kB / 0.7136 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009152/0.6069, allocations: 221.7 kB / 0.7138 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.6077, allocations: 189 kB / 0.714 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008911/0.6086, allocations: 0.7177 MB / 0.7147 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.6104, allocations: 236.2 kB / 0.7149 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/0.6105, allocations: 37.7 kB / 0.715 GB, free: 2.367 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.0006448/0.6112, allocations: 362.2 kB / 0.7153 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.6115, allocations: 148.6 kB / 0.7155 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.6139, allocations: 1.137 MB / 0.7166 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/0.6139, allocations: 14.75 kB / 0.7166 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6139, allocations: 7.875 kB / 0.7166 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.614, allocations: 4.984 kB / 0.7166 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/0.6193, allocations: 2.497 MB / 0.719 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.6193, allocations: 5.859 kB / 0.719 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.6197, allocations: 84.95 kB / 0.7191 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008392/0.6205, allocations: 217.1 kB / 0.7193 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.6206, allocations: 21.02 kB / 0.7193 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.6219, allocations: 0.7616 MB / 0.7201 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6219, allocations: 1.625 kB / 0.7201 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.6255, allocations: 1.215 MB / 0.7213 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009312/0.6265, allocations: 347.2 kB / 0.7216 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.6267, allocations: 10.91 kB / 0.7216 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/0.6276, allocations: 100.2 kB / 0.7217 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.6278, allocations: 42.39 kB / 0.7217 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.6279, allocations: 26.95 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001958/0.6298, allocations: 1.072 MB / 0.7228 GB, free: 13.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6298, allocations: 0 / 0.7228 GB, free: 13.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001419/0.6313, allocations: 436.1 kB / 0.7232 GB, free: 12.99 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.001029/0.6323, allocations: 486.1 kB / 0.7237 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.6348, allocations: 0.8655 MB / 0.7245 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6348, allocations: 0 / 0.7245 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.6361, allocations: 445.5 kB / 0.725 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/0.6395, allocations: 0.7426 MB / 0.7257 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.6441, allocations: 2.739 MB / 0.7284 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/0.645, allocations: 1.172 MB / 0.7295 GB, free: 6.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001127/0.6461, allocations: 256 kB / 0.7298 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.6464, allocations: 115.4 kB / 0.7299 GB, free: 6.312 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.6464, allocations: 0 / 0.7299 GB, free: 6.312 MB / 0.545 GB Notification: Performance of Templates: time 0.05823/0.7047, allocations: 31.08 MB / 0.7602 GB, free: 7.586 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)