Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001215/0.001214, allocations: 105.9 kB / 16.29 MB, free: 6.023 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.001138/0.001138, allocations: 181.6 kB / 17.22 MB, free: 5.633 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.483/1.483, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.949/1.949, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.91 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2548, allocations: 114.6 MB / 0.7841 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.4952/0.75, allocations: 75.18 MB / 0.8575 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02313/0.7732, allocations: 12.65 MB / 0.8698 GB, free: 6.266 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004026/0.7773, allocations: 63.22 kB / 0.8699 GB, free: 6.242 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.7807, allocations: 0.829 MB / 0.8707 GB, free: 5.723 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008819/0.7895, allocations: 2.438 MB / 0.8731 GB, free: 4.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004654/0.7942, allocations: 1.399 MB / 0.8745 GB, free: 3.457 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008201/0.8024, allocations: 4.348 MB / 0.8787 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/0.8052, allocations: 1.441 MB / 0.8801 GB, free: 36 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00503/0.8103, allocations: 1.62 MB / 0.8817 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002874/0.8132, allocations: 1.2 MB / 0.8829 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004945/0.8137, allocations: 163.9 kB / 0.883 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.8179, allocations: 1.428 MB / 0.8844 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.8185, allocations: 405.5 kB / 0.8848 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.8201, allocations: 0.9041 MB / 0.8857 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005423/0.8255, allocations: 2.884 MB / 0.8885 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.8255, allocations: 0 / 0.8885 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.778e-06/0.8256, allocations: 0 / 0.8885 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.777e-05/0.8256, allocations: 5.406 kB / 0.8885 GB, free: 10.66 MB / 0.6856 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.004357/0.83, allocations: 2.086 MB / 0.8905 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.83, allocations: 9.031 kB / 0.8905 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.831, allocations: 234.6 kB / 0.8908 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.8338, allocations: 1.433 MB / 0.8922 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.8339, allocations: 80.16 kB / 0.8922 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.834, allocations: 104.6 kB / 0.8923 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.8363, allocations: 1.101 MB / 0.8934 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.8364, allocations: 2.656 kB / 0.8934 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.8365, allocations: 41.91 kB / 0.8935 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.8365, allocations: 24.44 kB / 0.8935 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.8384, allocations: 0.8883 MB / 0.8944 GB, free: 6.598 MB / 0.6856 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.007151/0.8456, allocations: 4.915 MB / 0.8992 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.8472, allocations: 0.6291 MB / 0.8998 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007411/0.848, allocations: 347.8 kB / 0.9001 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.8487, allocations: 0.8332 MB / 0.9009 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.8488, allocations: 43.09 kB / 0.901 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 2.936e-06/0.8488, allocations: 0 / 0.901 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of matching and sorting (n=62): time 0.007182/0.856, allocations: 1.695 MB / 0.9026 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.856, allocations: 58.03 kB / 0.9027 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.8579, allocations: 1.218 MB / 0.9039 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.8581, allocations: 43.77 kB / 0.9039 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/0.8586, allocations: 0.6035 MB / 0.9045 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.8589, allocations: 215 kB / 0.9047 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.8592, allocations: 156.5 kB / 0.9048 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8593, allocations: 332.8 kB / 0.9052 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.86, allocations: 298.6 kB / 0.9054 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008587/0.8609, allocations: 489.3 kB / 0.9059 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.8623, allocations: 0.7089 MB / 0.9066 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.8623, allocations: 7.938 kB / 0.9066 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004639/0.867, allocations: 1.277 MB / 0.9079 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.867, allocations: 8 kB / 0.9079 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.8671, allocations: 4 kB / 0.9079 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.8678, allocations: 153.8 kB / 0.908 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.8684, allocations: 161.3 kB / 0.9082 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009186/0.8693, allocations: 0.7246 MB / 0.9089 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.8707, allocations: 119.1 kB / 0.909 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.812e-05/0.8708, allocations: 31.98 kB / 0.909 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001221/0.872, allocations: 0.5527 MB / 0.9096 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008743/0.8729, allocations: 491 kB / 0.91 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001473/0.8744, allocations: 0.6965 MB / 0.9107 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.753e-06/0.8744, allocations: 4 kB / 0.9107 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004785/0.8792, allocations: 1.273 MB / 0.912 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.8792, allocations: 8 kB / 0.912 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.8793, allocations: 4 kB / 0.912 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007112/0.88, allocations: 157.6 kB / 0.9121 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.8806, allocations: 151.8 kB / 0.9123 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/0.8816, allocations: 0.7239 MB / 0.913 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.8829, allocations: 99.52 kB / 0.9131 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.645e-05/0.883, allocations: 35.98 kB / 0.9131 GB, free: 5.961 MB / 0.7012 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.0003072/0.8833, allocations: 225.1 kB / 0.9133 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.8838, allocations: 134.4 kB / 0.9134 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.8884, allocations: 1.283 MB / 0.9147 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.8884, allocations: 11.98 kB / 0.9147 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.8884, allocations: 0 / 0.9147 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/0.8923, allocations: 1.107 MB / 0.9158 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007077/0.8994, allocations: 2.629 MB / 0.9184 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.8995, allocations: 4.438 kB / 0.9184 GB, free: 416 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.9, allocations: 115.8 kB / 0.9185 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006018/0.9006, allocations: 144.7 kB / 0.9186 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.9007, allocations: 27.98 kB / 0.9186 GB, free: 124 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008113/0.9015, allocations: 0.7051 MB / 0.9193 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9015, allocations: 7.031 kB / 0.9193 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005062/0.9066, allocations: 1.699 MB / 0.921 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/0.9074, allocations: 311.2 kB / 0.9213 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/0.9078, allocations: 16 kB / 0.9213 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/0.9088, allocations: 56 kB / 0.9214 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9089, allocations: 60.23 kB / 0.9214 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/0.909, allocations: 31.97 kB / 0.9214 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00146/0.9104, allocations: 0.8815 MB / 0.9223 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9104, allocations: 3.938 kB / 0.9223 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002286/0.9127, allocations: 0.7096 MB / 0.923 GB, free: 11.54 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001065/0.9138, allocations: 464.4 kB / 0.9234 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002753/0.9166, allocations: 1.135 MB / 0.9246 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.9166, allocations: 0 / 0.9246 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009339/0.9175, allocations: 395.7 kB / 0.9249 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/0.9216, allocations: 0.8074 MB / 0.9257 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.9259, allocations: 2.251 MB / 0.9279 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/0.9268, allocations: 1.168 MB / 0.9291 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001276/0.9281, allocations: 306.7 kB / 0.9293 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.9284, allocations: 107.4 kB / 0.9295 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2.665e-06/0.9284, allocations: 0 / 0.9295 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.0553/0.9837, allocations: 32.23 MB / 0.9609 GB, free: 5.168 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)