Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_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_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008662/0.0008664, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009279/0.000928, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 262.1 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9578/0.9578, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004159, allocations: 15.61 kB / 0.598 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1682, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05306/0.2213, allocations: 56.46 MB / 0.7396 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.2382, allocations: 11.22 MB / 0.7506 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.2404, allocations: 55.62 kB / 0.7506 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.2424, allocations: 464.9 kB / 0.7511 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.2475, allocations: 1.532 MB / 0.7526 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.2505, allocations: 0.8548 MB / 0.7534 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005049/0.2556, allocations: 3.394 MB / 0.7567 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.2572, allocations: 0.786 MB / 0.7575 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.2598, allocations: 1.034 MB / 0.7585 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.2614, allocations: 0.805 MB / 0.7593 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.2616, allocations: 40 kB / 0.7593 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.2645, allocations: 1.13 MB / 0.7604 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.2649, allocations: 203 kB / 0.7606 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.2654, allocations: 289 kB / 0.7609 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3527/0.618, allocations: 1.641 MB / 0.7625 GB, free: 28.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.6181, allocations: 1.672 kB / 0.7625 GB, free: 28.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6181, allocations: 0 / 0.7625 GB, free: 28.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.116e-05/0.6182, allocations: 0.5312 kB / 0.7625 GB, free: 28.25 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003409/0.6216, allocations: 1.518 MB / 0.764 GB, free: 27.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.6216, allocations: 10.06 kB / 0.764 GB, free: 27.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.6234, allocations: 386.9 kB / 0.7643 GB, free: 27.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.6259, allocations: 1.076 MB / 0.7654 GB, free: 27.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.6263, allocations: 130.9 kB / 0.7655 GB, free: 27.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.6265, allocations: 84.5 kB / 0.7656 GB, free: 27.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.6285, allocations: 0.9674 MB / 0.7665 GB, free: 26.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.6285, allocations: 0 / 0.7665 GB, free: 26.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.583e-05/0.6286, allocations: 37.94 kB / 0.7666 GB, free: 26.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.6286, allocations: 18.88 kB / 0.7666 GB, free: 26.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.6306, allocations: 0.8428 MB / 0.7674 GB, free: 26.87 MB / 0.545 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.006476/0.6371, allocations: 4.796 MB / 0.7721 GB, free: 24.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.6387, allocations: 0.6068 MB / 0.7727 GB, free: 24.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.6393, allocations: 288 kB / 0.773 GB, free: 24.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.6405, allocations: 1.396 MB / 0.7743 GB, free: 22.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.6405, allocations: 36.56 kB / 0.7744 GB, free: 22.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 2.595e-06/0.6405, allocations: 0 / 0.7744 GB, free: 22.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.005325/0.6458, allocations: 1.68 MB / 0.776 GB, free: 22.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.6459, allocations: 54.97 kB / 0.7761 GB, free: 22.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.6475, allocations: 1.05 MB / 0.7771 GB, free: 22.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.613e-05/0.6476, allocations: 39.95 kB / 0.7771 GB, free: 22.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.648, allocations: 0.5176 MB / 0.7776 GB, free: 21.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.6481, allocations: 155.4 kB / 0.7778 GB, free: 21.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.6481, allocations: 8.938 kB / 0.7778 GB, free: 21.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.6482, allocations: 331.2 kB / 0.7781 GB, free: 21.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/0.6489, allocations: 285 kB / 0.7784 GB, free: 21.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/0.6497, allocations: 486.7 kB / 0.7788 GB, free: 21.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.6504, allocations: 326.2 kB / 0.7792 GB, free: 21.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6504, allocations: 0 / 0.7792 GB, free: 21.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00218/0.6526, allocations: 0.9715 MB / 0.7801 GB, free: 21.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.971e-05/0.6527, allocations: 204 kB / 0.7803 GB, free: 20.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6527, allocations: 3.594 kB / 0.7803 GB, free: 20.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.654, allocations: 335.6 kB / 0.7806 GB, free: 20.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.6545, allocations: 111.1 kB / 0.7807 GB, free: 20.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.6557, allocations: 0.9454 MB / 0.7817 GB, free: 20.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6571, allocations: 177.9 kB / 0.7818 GB, free: 20.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.6571, allocations: 30.97 kB / 0.7819 GB, free: 20.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.6572, allocations: 7.5 kB / 0.7819 GB, free: 20.27 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002006/0.6592, allocations: 0.8395 MB / 0.7827 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.6592, allocations: 5.312 kB / 0.7827 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009996/0.6602, allocations: 325 kB / 0.783 GB, free: 20.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.6606, allocations: 117.3 kB / 0.7831 GB, free: 20.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.6618, allocations: 0.9458 MB / 0.784 GB, free: 19.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.6631, allocations: 151.7 kB / 0.7842 GB, free: 19.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.6632, allocations: 27.78 kB / 0.7842 GB, free: 19.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.6639, allocations: 349.6 kB / 0.7845 GB, free: 19.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.664, allocations: 118.7 kB / 0.7846 GB, free: 19.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.6661, allocations: 0.941 MB / 0.7856 GB, free: 19.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.6662, allocations: 11.69 kB / 0.7856 GB, free: 19.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6662, allocations: 1.094 kB / 0.7856 GB, free: 19.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.6662, allocations: 4.781 kB / 0.7856 GB, free: 19.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005502/0.6717, allocations: 2.335 MB / 0.7879 GB, free: 18.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.6717, allocations: 5.125 kB / 0.7879 GB, free: 18.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.672, allocations: 54.83 kB / 0.7879 GB, free: 18.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.6732, allocations: 326.7 kB / 0.7882 GB, free: 18.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.6733, allocations: 19.8 kB / 0.7883 GB, free: 18.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.6751, allocations: 0.9698 MB / 0.7892 GB, free: 18.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.6751, allocations: 2.594 kB / 0.7892 GB, free: 18.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.6794, allocations: 1.352 MB / 0.7905 GB, free: 17.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000934/0.6804, allocations: 286 kB / 0.7908 GB, free: 17.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.6806, allocations: 11.69 kB / 0.7908 GB, free: 17.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.6814, allocations: 99.48 kB / 0.7909 GB, free: 17.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.6815, allocations: 38.48 kB / 0.7909 GB, free: 17.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.6816, allocations: 22.95 kB / 0.791 GB, free: 17.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001322/0.6829, allocations: 0.7431 MB / 0.7917 GB, free: 17.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6829, allocations: 0 / 0.7917 GB, free: 17.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001971/0.6849, allocations: 0.565 MB / 0.7922 GB, free: 17.54 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008486/0.6858, allocations: 389.6 kB / 0.7926 GB, free: 17.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002641/0.6884, allocations: 1.066 MB / 0.7936 GB, free: 17.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6884, allocations: 1.156 kB / 0.7937 GB, free: 17.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.6891, allocations: 336.6 kB / 0.794 GB, free: 17.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.6916, allocations: 0.5004 MB / 0.7945 GB, free: 17.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.6954, allocations: 2.23 MB / 0.7966 GB, free: 16.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.6959, allocations: 1.067 MB / 0.7977 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001048/0.697, allocations: 216.8 kB / 0.7979 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.6971, allocations: 76.2 kB / 0.798 GB, free: 15.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.6972, allocations: 1.375 kB / 0.798 GB, free: 15.41 MB / 0.545 GB Notification: Performance of Templates: time 0.03421/0.7314, allocations: 23.3 MB / 0.8207 GB, free: 5.285 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)