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.001496/0.001496, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001826/0.001826, allocations: 192.2 kB / 16.91 MB, free: 6.195 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8148/0.8148, allocations: 135.1 MB / 425.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 64.08 kB / 0.5055 GB, free: 8.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3818, allocations: 80.92 MB / 0.5845 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06787/0.4497, allocations: 69.85 MB / 0.6527 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03297/0.4827, allocations: 18.78 MB / 0.6711 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003582/0.4864, allocations: 67.56 kB / 0.6711 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003583/0.49, allocations: 0.6956 MB / 0.6718 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.5014, allocations: 2.649 MB / 0.6744 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005737/0.5072, allocations: 1.52 MB / 0.6759 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008124/0.5153, allocations: 4.058 MB / 0.6798 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.519, allocations: 1.449 MB / 0.6813 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005777/0.5248, allocations: 1.781 MB / 0.683 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.528, allocations: 1.218 MB / 0.6842 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007552/0.5288, allocations: 180 kB / 0.6844 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004814/0.5336, allocations: 1.427 MB / 0.6858 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.5348, allocations: 394.7 kB / 0.6861 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.5371, allocations: 0.9254 MB / 0.687 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.5424, allocations: 2.464 MB / 0.6894 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5424, allocations: 0 / 0.6894 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5424, allocations: 0 / 0.6894 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.661e-05/0.5425, allocations: 0 / 0.6894 GB, free: 15.19 MB / 0.5294 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.00698/0.5495, allocations: 2.034 MB / 0.6914 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.5496, allocations: 13.11 kB / 0.6914 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.5527, allocations: 445.8 kB / 0.6919 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.5562, allocations: 1.516 MB / 0.6933 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.5567, allocations: 134 kB / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.557, allocations: 104 kB / 0.6936 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.56, allocations: 1.293 MB / 0.6948 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.56, allocations: 8 kB / 0.6948 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.5602, allocations: 40 kB / 0.6949 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.5602, allocations: 31.94 kB / 0.6949 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.563, allocations: 1.105 MB / 0.696 GB, free: 8.262 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.01005/0.5731, allocations: 7.137 MB / 0.703 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.5764, allocations: 0.8084 MB / 0.7037 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.5771, allocations: 289.9 kB / 0.704 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.5784, allocations: 1.714 MB / 0.7057 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.5785, allocations: 43 kB / 0.7057 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.836e-06/0.5785, allocations: 0 / 0.7057 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004968/0.5835, allocations: 1.334 MB / 0.707 GB, free: 12.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5836, allocations: 55.84 kB / 0.7071 GB, free: 11.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.5866, allocations: 1.517 MB / 0.7086 GB, free: 10.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.5868, allocations: 37.7 kB / 0.7086 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/0.5874, allocations: 0.6653 MB / 0.7093 GB, free: 9.703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.5877, allocations: 177.6 kB / 0.7094 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.588, allocations: 158.5 kB / 0.7096 GB, free: 9.363 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5882, allocations: 341.9 kB / 0.7099 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009918/0.5892, allocations: 357.8 kB / 0.7102 GB, free: 8.676 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.5905, allocations: 0.6356 MB / 0.7109 GB, free: 7.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.5923, allocations: 0.8483 MB / 0.7117 GB, free: 6.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.5923, allocations: 4 kB / 0.7117 GB, free: 6.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004558/0.5969, allocations: 1.329 MB / 0.713 GB, free: 5.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.5969, allocations: 8 kB / 0.713 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.5969, allocations: 8 kB / 0.713 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009819/0.5979, allocations: 229.2 kB / 0.7132 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.5987, allocations: 183.7 kB / 0.7134 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009349/0.5997, allocations: 0.72 MB / 0.7141 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.6015, allocations: 230.7 kB / 0.7143 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.6016, allocations: 47.98 kB / 0.7144 GB, free: 4.188 MB / 0.545 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.0006801/0.6023, allocations: 358.4 kB / 0.7147 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004274/0.6027, allocations: 146.1 kB / 0.7149 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.6054, allocations: 1.143 MB / 0.716 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.6054, allocations: 11.94 kB / 0.716 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6054, allocations: 0 / 0.716 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.6054, allocations: 3.984 kB / 0.716 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/0.6116, allocations: 2.51 MB / 0.7184 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.6116, allocations: 7.938 kB / 0.7184 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.612, allocations: 79.89 kB / 0.7185 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007945/0.6128, allocations: 220.6 kB / 0.7187 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.6128, allocations: 15.98 kB / 0.7188 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.6142, allocations: 0.7669 MB / 0.7195 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.6142, allocations: 4.031 kB / 0.7195 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.6178, allocations: 1.207 MB / 0.7207 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/0.6186, allocations: 343 kB / 0.721 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/0.619, allocations: 12 kB / 0.721 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.6202, allocations: 99.67 kB / 0.7211 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.6203, allocations: 40.45 kB / 0.7212 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.6203, allocations: 23.98 kB / 0.7212 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00224/0.6226, allocations: 1.086 MB / 0.7222 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6226, allocations: 0 / 0.7222 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001711/0.6243, allocations: 427.6 kB / 0.7226 GB, free: 11.55 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.001248/0.6256, allocations: 480.5 kB / 0.7231 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002584/0.6282, allocations: 0.8641 MB / 0.7239 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6282, allocations: 0 / 0.7239 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.6295, allocations: 451.5 kB / 0.7244 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/0.6332, allocations: 0.7385 MB / 0.7251 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.638, allocations: 2.765 MB / 0.7278 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009464/0.639, allocations: 1.157 MB / 0.7289 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.6394, allocations: 119.4 kB / 0.729 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.6395, allocations: 4 kB / 0.729 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of Templates: time 0.3132/0.9526, allocations: 33.82 MB / 0.7621 GB, free: 151.6 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)