Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001465/0.001465, allocations: 107 kB / 16.41 MB, free: 6.504 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.001548/0.001548, allocations: 187 kB / 17.34 MB, free: 5.742 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7739/0.7739, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 64.48 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1863, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06776/0.2541, allocations: 70.45 MB / 0.7291 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02516/0.2793, allocations: 18.91 MB / 0.7476 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.2825, allocations: 71.56 kB / 0.7476 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.352/0.6345, allocations: 0.8115 MB / 0.7484 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0097/0.6443, allocations: 2.848 MB / 0.7512 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004361/0.6487, allocations: 1.65 MB / 0.7528 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007047/0.6557, allocations: 4.041 MB / 0.7568 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.6589, allocations: 1.462 MB / 0.7582 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.6647, allocations: 1.8 MB / 0.76 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.668, allocations: 1.179 MB / 0.7611 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005541/0.6686, allocations: 175.6 kB / 0.7613 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.6727, allocations: 1.413 MB / 0.7627 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005297/0.6732, allocations: 388.1 kB / 0.763 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.6748, allocations: 0.9252 MB / 0.7639 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00618/0.681, allocations: 3.116 MB / 0.767 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.6811, allocations: 0 / 0.767 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6811, allocations: 1.188 kB / 0.767 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.389e-05/0.6811, allocations: 0 / 0.767 GB, free: 16.91 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.004251/0.6854, allocations: 2.035 MB / 0.769 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6854, allocations: 9.891 kB / 0.769 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.6878, allocations: 448 kB / 0.7694 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.6907, allocations: 1.55 MB / 0.7709 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.6908, allocations: 79.53 kB / 0.771 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.6909, allocations: 107 kB / 0.7711 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.6934, allocations: 1.313 MB / 0.7724 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.6934, allocations: 4.344 kB / 0.7724 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.6935, allocations: 44.53 kB / 0.7724 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.6936, allocations: 31.67 kB / 0.7725 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.6964, allocations: 1.099 MB / 0.7735 GB, free: 15.02 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.00865/0.705, allocations: 7.491 MB / 0.7808 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.7083, allocations: 0.8027 MB / 0.7816 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.7089, allocations: 282.9 kB / 0.7819 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008782/0.7098, allocations: 1.723 MB / 0.7836 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.7098, allocations: 37.28 kB / 0.7836 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.126e-06/0.7099, allocations: 3.938 kB / 0.7836 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004749/0.7146, allocations: 1.343 MB / 0.7849 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.7146, allocations: 55.94 kB / 0.785 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/0.7172, allocations: 1.543 MB / 0.7865 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/0.7173, allocations: 41.14 kB / 0.7865 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.7178, allocations: 0.6756 MB / 0.7872 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.7179, allocations: 170.1 kB / 0.7874 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.7182, allocations: 171.9 kB / 0.7875 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.7182, allocations: 334 kB / 0.7878 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/0.7191, allocations: 363 kB / 0.7882 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009786/0.72, allocations: 0.6665 MB / 0.7888 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.7215, allocations: 0.8851 MB / 0.7897 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.7216, allocations: 2.875 kB / 0.7897 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002701/0.7243, allocations: 1.196 MB / 0.7909 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.7243, allocations: 9.625 kB / 0.7909 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7243, allocations: 6.875 kB / 0.7909 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008542/0.7252, allocations: 229 kB / 0.7911 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/0.7259, allocations: 189.6 kB / 0.7913 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007127/0.7267, allocations: 0.722 MB / 0.792 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.7283, allocations: 213 kB / 0.7922 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/0.7284, allocations: 41.84 kB / 0.7922 GB, free: 4.832 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.0006055/0.729, allocations: 353.5 kB / 0.7926 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.7292, allocations: 149.7 kB / 0.7927 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.7313, allocations: 1.141 MB / 0.7938 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.7313, allocations: 7.281 kB / 0.7938 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7313, allocations: 4 kB / 0.7938 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.7314, allocations: 3.188 kB / 0.7938 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/0.7359, allocations: 2.516 MB / 0.7963 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7359, allocations: 0 / 0.7963 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.7362, allocations: 90.44 kB / 0.7964 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006825/0.7369, allocations: 213 kB / 0.7966 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.737, allocations: 14.75 kB / 0.7966 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.738, allocations: 0.7799 MB / 0.7974 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.738, allocations: 0 / 0.7974 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.7411, allocations: 1.21 MB / 0.7985 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/0.7419, allocations: 352.9 kB / 0.7989 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.7421, allocations: 18.31 kB / 0.7989 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008502/0.7429, allocations: 71.75 kB / 0.799 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.743, allocations: 38.27 kB / 0.799 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.7431, allocations: 26.48 kB / 0.799 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001619/0.7447, allocations: 1.087 MB / 0.8001 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7447, allocations: 0 / 0.8001 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001576/0.7463, allocations: 447.8 kB / 0.8005 GB, free: 15.79 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.001025/0.7474, allocations: 478.2 kB / 0.801 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.7495, allocations: 0.8493 MB / 0.8018 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7495, allocations: 0 / 0.8018 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.7507, allocations: 446.2 kB / 0.8022 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.7541, allocations: 0.7317 MB / 0.8029 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.7582, allocations: 2.278 MB / 0.8052 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.7589, allocations: 1.156 MB / 0.8063 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.7594, allocations: 128.7 kB / 0.8064 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.7594, allocations: 4 kB / 0.8064 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of Templates: time 0.04571/0.8051, allocations: 34.43 MB / 0.84 GB, free: 12.39 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)