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.0007612/0.000761, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008267/0.0008267, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7391/0.7391, allocations: 132.4 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 8.688 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3489, allocations: 81.58 MB / 0.5831 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06124/0.4102, allocations: 65.06 MB / 0.6466 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02016/0.4304, allocations: 17.68 MB / 0.6639 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.4319, allocations: 59.62 kB / 0.6639 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.4334, allocations: 0.5238 MB / 0.6644 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.4382, allocations: 2.105 MB / 0.6665 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.4411, allocations: 1.099 MB / 0.6676 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004997/0.4461, allocations: 4.369 MB / 0.6718 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.4479, allocations: 1.018 MB / 0.6728 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.4507, allocations: 1.337 MB / 0.6741 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.4526, allocations: 1.031 MB / 0.6752 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.4529, allocations: 56 kB / 0.6752 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.4557, allocations: 0.916 MB / 0.6761 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.456, allocations: 242.8 kB / 0.6763 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.4565, allocations: 368.9 kB / 0.6767 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.4589, allocations: 2.291 MB / 0.6789 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4589, allocations: 0 / 0.6789 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4589, allocations: 3.938 kB / 0.6789 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.761e-05/0.4589, allocations: 4 kB / 0.6789 GB, free: 14.16 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.003055/0.462, allocations: 1.723 MB / 0.6806 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4621, allocations: 12.03 kB / 0.6806 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.4641, allocations: 0.4975 MB / 0.6811 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.4664, allocations: 1.462 MB / 0.6825 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.4668, allocations: 142 kB / 0.6827 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.4669, allocations: 108 kB / 0.6828 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.4693, allocations: 1.313 MB / 0.6841 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.4693, allocations: 15.88 kB / 0.6841 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.4694, allocations: 40 kB / 0.6841 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.4695, allocations: 31.95 kB / 0.6841 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.472, allocations: 1.151 MB / 0.6853 GB, free: 7.457 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.007247/0.4792, allocations: 7.184 MB / 0.6923 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.4821, allocations: 0.8844 MB / 0.6931 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.4827, allocations: 290 kB / 0.6934 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.4838, allocations: 1.726 MB / 0.6951 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.4839, allocations: 35 kB / 0.6951 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.4839, allocations: 3.938 kB / 0.6951 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.00425/0.4881, allocations: 1.455 MB / 0.6966 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.4882, allocations: 59.84 kB / 0.6966 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.4902, allocations: 1.517 MB / 0.6981 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.4903, allocations: 41.64 kB / 0.6981 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/0.4908, allocations: 0.6613 MB / 0.6988 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4909, allocations: 177.6 kB / 0.699 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.491, allocations: 16 kB / 0.699 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4911, allocations: 330 kB / 0.6993 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009287/0.492, allocations: 389.7 kB / 0.6997 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.4932, allocations: 0.6588 MB / 0.7003 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.4941, allocations: 441.9 kB / 0.7007 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4942, allocations: 0 / 0.7007 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002593/0.4968, allocations: 1.212 MB / 0.7019 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4968, allocations: 8 kB / 0.7019 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4968, allocations: 11.98 kB / 0.7019 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007809/0.4976, allocations: 233.2 kB / 0.7021 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.4983, allocations: 195.7 kB / 0.7023 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007677/0.4991, allocations: 0.728 MB / 0.703 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.5005, allocations: 266.7 kB / 0.7033 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.5006, allocations: 35.98 kB / 0.7033 GB, free: 3.828 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004544/0.501, allocations: 353.6 kB / 0.7037 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.5012, allocations: 154.2 kB / 0.7038 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.5035, allocations: 1.172 MB / 0.705 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.5035, allocations: 11.98 kB / 0.705 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5035, allocations: 0 / 0.705 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.5035, allocations: 4.078 kB / 0.705 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004588/0.5081, allocations: 2.596 MB / 0.7075 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5081, allocations: 4 kB / 0.7075 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.5085, allocations: 83.88 kB / 0.7076 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006789/0.5092, allocations: 232.6 kB / 0.7078 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.5092, allocations: 23.98 kB / 0.7078 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.5104, allocations: 0.7981 MB / 0.7086 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5104, allocations: 4.062 kB / 0.7086 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/0.5134, allocations: 1.277 MB / 0.7099 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.5139, allocations: 370.9 kB / 0.7102 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.5141, allocations: 15.95 kB / 0.7102 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/0.515, allocations: 107.8 kB / 0.7103 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/0.515, allocations: 40.5 kB / 0.7104 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.5151, allocations: 27.98 kB / 0.7104 GB, free: 12.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00158/0.5167, allocations: 1.074 MB / 0.7115 GB, free: 11.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.593e-06/0.5167, allocations: 3.938 kB / 0.7115 GB, free: 11.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001115/0.5178, allocations: 439.4 kB / 0.7119 GB, free: 10.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007664/0.5186, allocations: 450.7 kB / 0.7123 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.5206, allocations: 0.8719 MB / 0.7132 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5206, allocations: 4 kB / 0.7132 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5218, allocations: 471.5 kB / 0.7136 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.5245, allocations: 0.6957 MB / 0.7143 GB, free: 8.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.5282, allocations: 2.71 MB / 0.7169 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.5289, allocations: 1.172 MB / 0.7181 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009162/0.5298, allocations: 265.2 kB / 0.7183 GB, free: 4.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.53, allocations: 115.4 kB / 0.7184 GB, free: 4.133 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5301, allocations: 0 / 0.7184 GB, free: 4.133 MB / 0.545 GB Notification: Performance of Templates: time 0.04163/0.5717, allocations: 29.01 MB / 0.7468 GB, free: 7.516 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)