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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 182.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7049/0.7049, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 404.7 MB, free: 6.086 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 95.75 kB / 485.9 MB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009444/0.0009447, allocations: 56.09 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1359, allocations: 80.42 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3776/0.5136, allocations: 70.02 MB / 0.7105 GB, free: 22.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02292/0.5365, allocations: 18.99 MB / 0.7291 GB, free: 16.82 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.5395, allocations: 66.53 kB / 0.7291 GB, free: 16.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.5417, allocations: 0.6668 MB / 0.7298 GB, free: 16.38 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008261/0.55, allocations: 2.597 MB / 0.7323 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.5544, allocations: 1.498 MB / 0.7338 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006621/0.561, allocations: 5.027 MB / 0.7387 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.563, allocations: 1.194 MB / 0.7398 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.5664, allocations: 1.504 MB / 0.7413 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.5682, allocations: 1.16 MB / 0.7424 GB, free: 9.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.5684, allocations: 75.5 kB / 0.7425 GB, free: 9.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.5714, allocations: 1.245 MB / 0.7437 GB, free: 9.137 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.5717, allocations: 290.8 kB / 0.744 GB, free: 8.914 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008252/0.5725, allocations: 0.8208 MB / 0.7448 GB, free: 8.371 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.5755, allocations: 3.022 MB / 0.7478 GB, free: 6.266 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5755, allocations: 2.656 kB / 0.7478 GB, free: 6.266 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5755, allocations: 0 / 0.7478 GB, free: 6.266 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.5755, allocations: 0 / 0.7478 GB, free: 6.266 MB / 490.7 MB 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.002993/0.5785, allocations: 2.031 MB / 0.7498 GB, free: 4.711 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5786, allocations: 8.406 kB / 0.7498 GB, free: 4.711 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.5807, allocations: 449.8 kB / 0.7502 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.5828, allocations: 1.51 MB / 0.7517 GB, free: 3.258 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.5832, allocations: 135.6 kB / 0.7518 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.5833, allocations: 101.5 kB / 0.7519 GB, free: 3.168 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.5854, allocations: 1.3 MB / 0.7532 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.5854, allocations: 10.78 kB / 0.7532 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.5855, allocations: 43.25 kB / 0.7532 GB, free: 2.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.5856, allocations: 24.16 kB / 0.7532 GB, free: 2.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.5881, allocations: 1.108 MB / 0.7543 GB, free: 1.688 MB / 490.7 MB 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.00938/0.5975, allocations: 7.143 MB / 0.7613 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.6008, allocations: 0.8067 MB / 0.7621 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.6014, allocations: 286 kB / 0.7624 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.6028, allocations: 1.714 MB / 0.764 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.6028, allocations: 50.92 kB / 0.7641 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.735e-06/0.6029, allocations: 0 / 0.7641 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.005022/0.6079, allocations: 1.334 MB / 0.7654 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.6079, allocations: 55.84 kB / 0.7654 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.6103, allocations: 1.521 MB / 0.7669 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.6104, allocations: 37.7 kB / 0.767 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.611, allocations: 0.6653 MB / 0.7676 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.6112, allocations: 169.6 kB / 0.7678 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.6115, allocations: 166.4 kB / 0.7679 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6116, allocations: 337.9 kB / 0.7682 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.6126, allocations: 357.8 kB / 0.7686 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.6139, allocations: 0.6284 MB / 0.7692 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.6158, allocations: 0.8522 MB / 0.77 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6158, allocations: 4 kB / 0.77 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004539/0.6204, allocations: 1.337 MB / 0.7713 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6204, allocations: 8 kB / 0.7713 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6204, allocations: 4 kB / 0.7714 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008864/0.6213, allocations: 217.3 kB / 0.7716 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/0.6221, allocations: 183.7 kB / 0.7717 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008736/0.623, allocations: 0.7239 MB / 0.7724 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.6247, allocations: 234.8 kB / 0.7727 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.6248, allocations: 39.97 kB / 0.7727 GB, free: 14.48 MB / 0.5105 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.0005957/0.6254, allocations: 357.6 kB / 0.773 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.6257, allocations: 150.1 kB / 0.7732 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.6282, allocations: 1.141 MB / 0.7743 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6283, allocations: 15.98 kB / 0.7743 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6283, allocations: 3.938 kB / 0.7743 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.6283, allocations: 7.984 kB / 0.7743 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.6339, allocations: 2.498 MB / 0.7768 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6339, allocations: 8.188 kB / 0.7768 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.6343, allocations: 87.81 kB / 0.7769 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007741/0.6351, allocations: 208.6 kB / 0.7771 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.6351, allocations: 12 kB / 0.7771 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.6365, allocations: 0.7747 MB / 0.7778 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.6365, allocations: 7.875 kB / 0.7778 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004962/0.6415, allocations: 2.415 MB / 0.7802 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/0.6421, allocations: 350.9 kB / 0.7805 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.6424, allocations: 15.98 kB / 0.7805 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.6434, allocations: 83.84 kB / 0.7806 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6436, allocations: 44.44 kB / 0.7807 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.6436, allocations: 39.98 kB / 0.7807 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001905/0.6455, allocations: 1.07 MB / 0.7817 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6456, allocations: 0 / 0.7817 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001498/0.6471, allocations: 451.3 kB / 0.7822 GB, free: 4.547 MB / 0.5105 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.001037/0.6481, allocations: 480.5 kB / 0.7826 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.6504, allocations: 0.8329 MB / 0.7835 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6504, allocations: 4 kB / 0.7835 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.6517, allocations: 431.4 kB / 0.7839 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.6552, allocations: 0.6947 MB / 0.7845 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.6599, allocations: 3.123 MB / 0.7876 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/0.6608, allocations: 1.184 MB / 0.7887 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001141/0.662, allocations: 267.9 kB / 0.789 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.6623, allocations: 115.3 kB / 0.7891 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.6623, allocations: 0 / 0.7891 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.04984/0.7121, allocations: 30.76 MB / 0.8192 GB, free: 14.88 MB / 0.5573 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)