Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.001209/0.001209, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 289.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9596/0.9596, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 103.8 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4569, allocations: 86.98 MB / 0.7671 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06877/0.5257, allocations: 75.15 MB / 0.8405 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.543, allocations: 12.75 MB / 0.8529 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.5451, allocations: 71.62 kB / 0.853 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.5472, allocations: 0.8228 MB / 0.8538 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.5533, allocations: 2.463 MB / 0.8562 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.5564, allocations: 1.395 MB / 0.8575 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005879/0.5623, allocations: 4.393 MB / 0.8618 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.5644, allocations: 1.449 MB / 0.8633 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.5681, allocations: 1.648 MB / 0.8649 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.5702, allocations: 1.194 MB / 0.866 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004699/0.5707, allocations: 164 kB / 0.8662 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.574, allocations: 1.419 MB / 0.8676 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.5746, allocations: 402.6 kB / 0.868 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.5762, allocations: 0.9098 MB / 0.8688 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.5803, allocations: 2.889 MB / 0.8717 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5804, allocations: 7.984 kB / 0.8717 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5804, allocations: 0 / 0.8717 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.5804, allocations: 0 / 0.8717 GB, free: 8.473 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.0036/0.584, allocations: 2.087 MB / 0.8737 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.584, allocations: 8.031 kB / 0.8737 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/0.5849, allocations: 226.9 kB / 0.8739 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.5872, allocations: 1.524 MB / 0.8754 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/0.5873, allocations: 74 kB / 0.8755 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5874, allocations: 100 kB / 0.8756 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.5894, allocations: 1.096 MB / 0.8767 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.5894, allocations: 7.906 kB / 0.8767 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.369e-05/0.5895, allocations: 44 kB / 0.8767 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.5896, allocations: 24 kB / 0.8767 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.5915, allocations: 0.8939 MB / 0.8776 GB, free: 2.234 MB / 0.6387 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.005801/0.5973, allocations: 4.907 MB / 0.8824 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.5986, allocations: 0.6239 MB / 0.883 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007231/0.5994, allocations: 358.8 kB / 0.8833 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/0.6, allocations: 0.8238 MB / 0.8842 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.6001, allocations: 47.06 kB / 0.8842 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 3.075e-06/0.6001, allocations: 0 / 0.8842 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.007703/0.6078, allocations: 1.689 MB / 0.8858 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.6078, allocations: 59.97 kB / 0.8859 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.6094, allocations: 1.225 MB / 0.8871 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.6095, allocations: 41.7 kB / 0.8871 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/0.61, allocations: 0.5988 MB / 0.8877 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.6102, allocations: 220.8 kB / 0.8879 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.6104, allocations: 150.6 kB / 0.8881 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6106, allocations: 338 kB / 0.8884 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.6113, allocations: 284.7 kB / 0.8887 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008541/0.6121, allocations: 498.8 kB / 0.8891 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.6136, allocations: 0.7043 MB / 0.8898 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6137, allocations: 4 kB / 0.8898 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004885/0.6186, allocations: 1.284 MB / 0.8911 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6186, allocations: 4 kB / 0.8911 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6186, allocations: 4 kB / 0.8911 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007519/0.6194, allocations: 157.1 kB / 0.8913 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.62, allocations: 163.7 kB / 0.8914 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008879/0.6209, allocations: 0.7145 MB / 0.8921 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/0.6218, allocations: 119 kB / 0.8922 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.6219, allocations: 43.88 kB / 0.8923 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001026/0.6229, allocations: 0.5565 MB / 0.8928 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008094/0.6237, allocations: 483 kB / 0.8933 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00141/0.6252, allocations: 0.7042 MB / 0.894 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.6252, allocations: 0 / 0.894 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004758/0.6299, allocations: 1.269 MB / 0.8952 GB, free: 15.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.63, allocations: 11.94 kB / 0.8952 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.63, allocations: 4 kB / 0.8952 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.6306, allocations: 161.1 kB / 0.8954 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.6312, allocations: 151.8 kB / 0.8955 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007914/0.632, allocations: 0.72 MB / 0.8962 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009208/0.6329, allocations: 95.45 kB / 0.8963 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.633, allocations: 31.98 kB / 0.8963 GB, free: 14.17 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.6332, allocations: 225 kB / 0.8965 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.6334, allocations: 134.3 kB / 0.8967 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/0.6382, allocations: 1.283 MB / 0.8979 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004291/0.6425, allocations: 1.115 MB / 0.899 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6425, allocations: 0 / 0.899 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.643, allocations: 303.2 kB / 0.8993 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.6431, allocations: 16 kB / 0.8993 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007658/0.6439, allocations: 47.94 kB / 0.8994 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.644, allocations: 40.5 kB / 0.8994 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002845/0.6469, allocations: 0.9871 MB / 0.9004 GB, free: 9.945 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002461/0.6494, allocations: 1.348 MB / 0.9017 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000675/0.65, allocations: 332.3 kB / 0.902 GB, free: 8.258 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001152/0.6512, allocations: 0.8575 MB / 0.9028 GB, free: 7.398 MB / 0.67 GB Notification: Performance of Backend: time 4.11e-07/0.6512, allocations: 4 kB / 0.9028 GB, free: 7.395 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003648/0.6549, allocations: 1.403 MB / 0.9042 GB, free: 6 MB / 0.67 GB Notification: Performance of SimCode: time 0.005558/0.6604, allocations: 3.144 MB / 0.9073 GB, free: 2.816 MB / 0.67 GB Notification: Performance of Templates: time 0.05244/0.7129, allocations: 33.89 MB / 0.9404 GB, free: 1.289 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)