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.001238/0.001238, allocations: 105 kB / 16.36 MB, free: 5.828 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.001274/0.001274, allocations: 195.4 kB / 17.29 MB, free: 5.484 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 132.2 MB / 423.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 59.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3489, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05883/0.4078, allocations: 70.45 MB / 0.6503 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.432, allocations: 18.91 MB / 0.6687 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.4348, allocations: 67.62 kB / 0.6688 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.4374, allocations: 0.8267 MB / 0.6696 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007606/0.445, allocations: 2.845 MB / 0.6724 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.4489, allocations: 1.653 MB / 0.674 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005201/0.4541, allocations: 4.042 MB / 0.678 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.4562, allocations: 1.449 MB / 0.6794 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.4599, allocations: 1.785 MB / 0.6811 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.4617, allocations: 1.179 MB / 0.6823 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.462, allocations: 176 kB / 0.6824 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002714/0.4647, allocations: 1.408 MB / 0.6838 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.4651, allocations: 390.6 kB / 0.6842 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009432/0.466, allocations: 0.9216 MB / 0.6851 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.4699, allocations: 3.105 MB / 0.6881 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4699, allocations: 0 / 0.6881 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4699, allocations: 4 kB / 0.6881 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.4699, allocations: 0 / 0.6881 GB, free: 0.6953 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.00322/0.4731, allocations: 2.038 MB / 0.6901 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4732, allocations: 12.03 kB / 0.6901 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.4753, allocations: 445.8 kB / 0.6905 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.4778, allocations: 1.543 MB / 0.692 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.4778, allocations: 82.03 kB / 0.6921 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.478, allocations: 100 kB / 0.6922 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.4803, allocations: 1.321 MB / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.4804, allocations: 0 / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/0.4805, allocations: 48 kB / 0.6936 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.4805, allocations: 31.94 kB / 0.6936 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.483, allocations: 1.104 MB / 0.6947 GB, free: 9.746 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.007936/0.4909, allocations: 7.485 MB / 0.702 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.4939, allocations: 0.8096 MB / 0.7028 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.4945, allocations: 278 kB / 0.703 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.4957, allocations: 1.734 MB / 0.7047 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4957, allocations: 39 kB / 0.7048 GB, free: 14.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.4957, allocations: 0 / 0.7048 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004483/0.5002, allocations: 1.33 MB / 0.7061 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.5003, allocations: 55.84 kB / 0.7061 GB, free: 13.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.5026, allocations: 1.549 MB / 0.7076 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.5027, allocations: 37.7 kB / 0.7077 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/0.5032, allocations: 0.6768 MB / 0.7083 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.5034, allocations: 173.6 kB / 0.7085 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.5037, allocations: 174.5 kB / 0.7087 GB, free: 10.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5038, allocations: 333.9 kB / 0.709 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009358/0.5047, allocations: 373.7 kB / 0.7093 GB, free: 9.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.506, allocations: 0.6606 MB / 0.71 GB, free: 8.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.5077, allocations: 0.879 MB / 0.7108 GB, free: 7.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.5077, allocations: 8 kB / 0.7108 GB, free: 7.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002806/0.5106, allocations: 1.189 MB / 0.712 GB, free: 6.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5106, allocations: 10.5 kB / 0.712 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5106, allocations: 8 kB / 0.712 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008839/0.5115, allocations: 228.6 kB / 0.7122 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.5123, allocations: 183.8 kB / 0.7124 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008011/0.5131, allocations: 0.7239 MB / 0.7131 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5145, allocations: 210.7 kB / 0.7133 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.5146, allocations: 43.98 kB / 0.7134 GB, free: 5.324 MB / 0.545 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.0005244/0.5152, allocations: 362.1 kB / 0.7137 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.5154, allocations: 146.2 kB / 0.7139 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.5177, allocations: 1.14 MB / 0.715 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.5177, allocations: 12 kB / 0.715 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5178, allocations: 0 / 0.715 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5178, allocations: 7.984 kB / 0.715 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/0.5227, allocations: 2.51 MB / 0.7174 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5228, allocations: 4 kB / 0.7174 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.5231, allocations: 84.02 kB / 0.7175 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006784/0.5238, allocations: 212.6 kB / 0.7177 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.5239, allocations: 15.98 kB / 0.7177 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.5251, allocations: 0.7825 MB / 0.7185 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5251, allocations: 0 / 0.7185 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.5282, allocations: 1.211 MB / 0.7197 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/0.5288, allocations: 347 kB / 0.72 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.529, allocations: 15.89 kB / 0.72 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.5299, allocations: 79.86 kB / 0.7201 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.53, allocations: 40.5 kB / 0.7201 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.53, allocations: 23.98 kB / 0.7202 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001651/0.5317, allocations: 1.09 MB / 0.7212 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5317, allocations: 0 / 0.7212 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001184/0.5329, allocations: 443.4 kB / 0.7217 GB, free: 12.67 MB / 0.5606 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.0008797/0.5338, allocations: 469.1 kB / 0.7221 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.5358, allocations: 0.8525 MB / 0.7229 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5358, allocations: 4 kB / 0.7229 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.537, allocations: 435.6 kB / 0.7234 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.5397, allocations: 0.7485 MB / 0.7241 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.5434, allocations: 2.251 MB / 0.7263 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/0.5442, allocations: 1.168 MB / 0.7274 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008838/0.5451, allocations: 269.2 kB / 0.7277 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.5453, allocations: 115.3 kB / 0.7278 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.5453, allocations: 0 / 0.7278 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of Templates: time 0.2983/0.8437, allocations: 31.5 MB / 0.7585 GB, free: 148.6 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)