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.00956/0.00956, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001815/0.001815, allocations: 193.7 kB / 16.67 MB, free: 5.93 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.5/1.5, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4039/0.4039, allocations: 54.95 MB / 324.8 MB, free: 15.9 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.001458/0.001458, allocations: 74.58 kB / 456.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.144, allocations: 59.59 MB / 0.5037 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07372/0.2178, allocations: 69.75 MB / 0.5718 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02921/0.247, allocations: 18.09 MB / 0.5895 GB, free: 2.898 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.2501, allocations: 55.69 kB / 0.5895 GB, free: 2.844 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.2534, allocations: 0.9086 MB / 0.5904 GB, free: 1.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009251/0.2627, allocations: 2.943 MB / 0.5933 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00524/0.2679, allocations: 1.455 MB / 0.5947 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006349/0.2743, allocations: 3.935 MB / 0.5986 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002735/0.277, allocations: 1.434 MB / 0.6 GB, free: 8.105 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005276/0.2823, allocations: 1.925 MB / 0.6018 GB, free: 6.176 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.285, allocations: 1.257 MB / 0.6031 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004447/0.2855, allocations: 180 kB / 0.6032 GB, free: 4.738 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.2885, allocations: 1.178 MB / 0.6044 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.289, allocations: 402.6 kB / 0.6048 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.2906, allocations: 0.9605 MB / 0.6057 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.2954, allocations: 3.077 MB / 0.6087 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2954, allocations: 0 / 0.6087 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2954, allocations: 0 / 0.6087 GB, free: 15.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.073e-05/0.2955, allocations: 0 / 0.6087 GB, free: 15.11 MB / 494.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.004532/0.3001, allocations: 2.05 MB / 0.6107 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3001, allocations: 12.03 kB / 0.6107 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.3028, allocations: 0.4903 MB / 0.6112 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.3068, allocations: 1.508 MB / 0.6127 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.307, allocations: 82.23 kB / 0.6128 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.3074, allocations: 112 kB / 0.6129 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/0.3109, allocations: 1.489 MB / 0.6143 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.3109, allocations: 7.938 kB / 0.6143 GB, free: 9.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.3111, allocations: 52 kB / 0.6144 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.3112, allocations: 32 kB / 0.6144 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003051/0.3143, allocations: 1.171 MB / 0.6156 GB, free: 7.832 MB / 494.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.0124/0.3267, allocations: 8.579 MB / 0.6239 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.3284, allocations: 0.6082 MB / 0.6245 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.329, allocations: 240.7 kB / 0.6248 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.3303, allocations: 1.231 MB / 0.626 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.3303, allocations: 38.56 kB / 0.626 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 3.206e-06/0.3304, allocations: 0 / 0.626 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.00568/0.336, allocations: 1.395 MB / 0.6274 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.3362, allocations: 158.2 kB / 0.6275 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.3396, allocations: 1.638 MB / 0.6291 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.3397, allocations: 45.64 kB / 0.6292 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/0.3406, allocations: 0.7385 MB / 0.6299 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.3409, allocations: 162.5 kB / 0.63 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/0.3413, allocations: 198.3 kB / 0.6302 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3415, allocations: 330 kB / 0.6305 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.3426, allocations: 377.8 kB / 0.6309 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.344, allocations: 0.779 MB / 0.6317 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.3461, allocations: 1.009 MB / 0.6326 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.3462, allocations: 0 / 0.6326 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005104/0.3513, allocations: 1.459 MB / 0.6341 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.3513, allocations: 16.03 kB / 0.6341 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.3514, allocations: 12 kB / 0.6341 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009918/0.3524, allocations: 208.6 kB / 0.6343 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.3533, allocations: 231.7 kB / 0.6345 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3544, allocations: 0.7161 MB / 0.6352 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.3564, allocations: 230.4 kB / 0.6354 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.3565, allocations: 47.98 kB / 0.6355 GB, free: 2.098 MB / 0.4981 GB 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.000781/0.3573, allocations: 381.4 kB / 0.6358 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.3577, allocations: 154.1 kB / 0.636 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.3602, allocations: 0.9495 MB / 0.6369 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.3602, allocations: 11.92 kB / 0.6369 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3602, allocations: 0 / 0.6369 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3602, allocations: 0 / 0.6369 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3264/0.6866, allocations: 2.395 MB / 0.6393 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.6866, allocations: 3.125 kB / 0.6393 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.687, allocations: 78.88 kB / 0.6393 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007419/0.6878, allocations: 200 kB / 0.6395 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.6878, allocations: 12.92 kB / 0.6395 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006989/0.6885, allocations: 0.6955 MB / 0.6402 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6885, allocations: 6.734 kB / 0.6402 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/0.6923, allocations: 1.093 MB / 0.6413 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.6934, allocations: 327.5 kB / 0.6416 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.6937, allocations: 22.62 kB / 0.6416 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.6947, allocations: 78.59 kB / 0.6417 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.6948, allocations: 35.05 kB / 0.6417 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.6949, allocations: 25.52 kB / 0.6418 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00231/0.6972, allocations: 1.177 MB / 0.6429 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6972, allocations: 2.062 kB / 0.6429 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001627/0.6989, allocations: 413.5 kB / 0.6433 GB, free: 125.8 MB / 0.4981 GB 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.0008834/0.6998, allocations: 388.3 kB / 0.6437 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002316/0.7021, allocations: 0.7965 MB / 0.6445 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7021, allocations: 4 kB / 0.6445 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008235/0.7029, allocations: 293.4 kB / 0.6447 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.7064, allocations: 0.8129 MB / 0.6455 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.7107, allocations: 2.207 MB / 0.6477 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.7113, allocations: 1.167 MB / 0.6488 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00103/0.7124, allocations: 280.1 kB / 0.6491 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.7127, allocations: 117.3 kB / 0.6492 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of SimCode: time 5.72e-07/0.7127, allocations: 0 / 0.6492 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.04353/0.7562, allocations: 31.93 MB / 0.6804 GB, free: 96 MB / 0.4981 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)