Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.005403/0.005403, allocations: 101 kB / 15.73 MB, free: 6.059 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.001234/0.001234, allocations: 194.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2524/0.2524, allocations: 54.96 MB / 324.9 MB, free: 4.848 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 71.88 kB / 456.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09245, allocations: 59.6 MB / 0.5037 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.251/0.3435, allocations: 69.75 MB / 0.5718 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02111/0.3646, allocations: 18.1 MB / 0.5895 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.3668, allocations: 61.94 kB / 0.5896 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.3689, allocations: 0.8718 MB / 0.5904 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006963/0.3759, allocations: 2.805 MB / 0.5931 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.3793, allocations: 1.446 MB / 0.5946 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005044/0.3844, allocations: 3.923 MB / 0.5984 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.3864, allocations: 1.448 MB / 0.5998 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.3902, allocations: 1.884 MB / 0.6016 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.3922, allocations: 1.252 MB / 0.6029 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.3925, allocations: 180.6 kB / 0.603 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.3952, allocations: 1.17 MB / 0.6042 GB, free: 9.895 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.3955, allocations: 406.3 kB / 0.6046 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000964/0.3965, allocations: 0.9564 MB / 0.6055 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.4003, allocations: 3.089 MB / 0.6085 GB, free: 5.742 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4003, allocations: 0 / 0.6085 GB, free: 5.742 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4004, allocations: 0 / 0.6085 GB, free: 5.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.4004, allocations: 0 / 0.6085 GB, free: 5.742 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.003226/0.4036, allocations: 2.118 MB / 0.6106 GB, free: 3.562 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4037, allocations: 12.03 kB / 0.6106 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.4061, allocations: 0.4954 MB / 0.6111 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.4085, allocations: 1.513 MB / 0.6126 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.4086, allocations: 86.23 kB / 0.6126 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.4087, allocations: 112 kB / 0.6127 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4111, allocations: 1.49 MB / 0.6142 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.4111, allocations: 11.94 kB / 0.6142 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.4112, allocations: 48 kB / 0.6143 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.4113, allocations: 32 kB / 0.6143 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.4138, allocations: 1.163 MB / 0.6154 GB, free: 14.39 MB / 478.1 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.007612/0.4214, allocations: 8.587 MB / 0.6238 GB, free: 5.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.4229, allocations: 0.6175 MB / 0.6244 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.4235, allocations: 244.7 kB / 0.6246 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008492/0.4243, allocations: 1.231 MB / 0.6258 GB, free: 2.887 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4243, allocations: 38.56 kB / 0.6259 GB, free: 2.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.4244, allocations: 0 / 0.6259 GB, free: 2.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.005232/0.4296, allocations: 1.404 MB / 0.6273 GB, free: 1.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.4297, allocations: 162.2 kB / 0.6274 GB, free: 1.211 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.4318, allocations: 1.639 MB / 0.629 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.4318, allocations: 33.7 kB / 0.629 GB, free: 15.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/0.4324, allocations: 0.7673 MB / 0.6298 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4325, allocations: 162.6 kB / 0.6299 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.4328, allocations: 198.5 kB / 0.6301 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4329, allocations: 333.9 kB / 0.6305 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/0.4338, allocations: 377.8 kB / 0.6308 GB, free: 13.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.435, allocations: 0.7751 MB / 0.6316 GB, free: 12.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.4368, allocations: 1.001 MB / 0.6326 GB, free: 11.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4368, allocations: 0 / 0.6326 GB, free: 11.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004039/0.4409, allocations: 1.467 MB / 0.634 GB, free: 10.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4409, allocations: 15.98 kB / 0.634 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4409, allocations: 12 kB / 0.634 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/0.4416, allocations: 208.6 kB / 0.6342 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.4425, allocations: 223.7 kB / 0.6344 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007635/0.4432, allocations: 0.7278 MB / 0.6351 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4446, allocations: 242.8 kB / 0.6354 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.4447, allocations: 44.75 kB / 0.6354 GB, free: 8.602 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (101): * Single equations (assignments): 100 * 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.0004756/0.4452, allocations: 369.6 kB / 0.6358 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.4454, allocations: 166.9 kB / 0.6359 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.4473, allocations: 0.9568 MB / 0.6369 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.4473, allocations: 4 kB / 0.6369 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4473, allocations: 0 / 0.6369 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4473, allocations: 11.86 kB / 0.6369 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00456/0.4519, allocations: 2.394 MB / 0.6392 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4519, allocations: 11.97 kB / 0.6392 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.4523, allocations: 79.88 kB / 0.6393 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005964/0.4529, allocations: 188.7 kB / 0.6395 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.4529, allocations: 19.98 kB / 0.6395 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007436/0.4537, allocations: 0.6929 MB / 0.6402 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4537, allocations: 7.922 kB / 0.6402 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.4567, allocations: 1.107 MB / 0.6413 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.4572, allocations: 343.8 kB / 0.6416 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.4574, allocations: 11.94 kB / 0.6416 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008985/0.4583, allocations: 79.91 kB / 0.6417 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.4584, allocations: 35.89 kB / 0.6417 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.4584, allocations: 23.98 kB / 0.6417 GB, free: 1.895 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001657/0.4601, allocations: 1.178 MB / 0.6429 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4601, allocations: 4 kB / 0.6429 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001055/0.4611, allocations: 423.3 kB / 0.6433 GB, free: 312 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0006513/0.4618, allocations: 392.9 kB / 0.6437 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.4637, allocations: 0.7921 MB / 0.6444 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.4637, allocations: 0 / 0.6444 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006603/0.4643, allocations: 300.5 kB / 0.6447 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.4675, allocations: 0.8043 MB / 0.6455 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.471, allocations: 2.251 MB / 0.6477 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.4718, allocations: 1.167 MB / 0.6488 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009712/0.4728, allocations: 283.6 kB / 0.6491 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.473, allocations: 119.4 kB / 0.6492 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.473, allocations: 0 / 0.6492 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.04493/0.518, allocations: 31.92 MB / 0.6804 GB, free: 10.45 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)