Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001839/0.001839, allocations: 192.8 kB / 16.13 MB, free: 6.699 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.517/1.517, allocations: 205.1 MB / 222 MB, free: 5.02 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.707/1.707, allocations: 251.7 MB / 0.5088 GB, free: 3.332 MB / 414.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.001339/0.001339, allocations: 67.19 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4827, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06802/0.5508, allocations: 74.74 MB / 0.7968 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.5683, allocations: 12.66 MB / 0.8091 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.5708, allocations: 59.62 kB / 0.8092 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.5734, allocations: 0.6721 MB / 0.8099 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007307/0.5808, allocations: 2.243 MB / 0.8121 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.5845, allocations: 1.24 MB / 0.8133 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007362/0.5919, allocations: 5.506 MB / 0.8186 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.5939, allocations: 1.175 MB / 0.8198 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.5968, allocations: 1.349 MB / 0.8211 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.5985, allocations: 1.174 MB / 0.8222 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.5987, allocations: 79.94 kB / 0.8223 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.6016, allocations: 1.275 MB / 0.8236 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.6019, allocations: 314.6 kB / 0.8239 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009167/0.6028, allocations: 0.8083 MB / 0.8247 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.6064, allocations: 2.781 MB / 0.8274 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6064, allocations: 0 / 0.8274 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6064, allocations: 0 / 0.8274 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.6065, allocations: 0 / 0.8274 GB, free: 2.738 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.003776/0.6103, allocations: 2.075 MB / 0.8294 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.6103, allocations: 12.03 kB / 0.8294 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007761/0.6111, allocations: 218.9 kB / 0.8296 GB, free: 376 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.6133, allocations: 1.485 MB / 0.8311 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.6134, allocations: 77.94 kB / 0.8311 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.6135, allocations: 100 kB / 0.8312 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6154, allocations: 1.096 MB / 0.8323 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.6155, allocations: 3.906 kB / 0.8323 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.6156, allocations: 36 kB / 0.8324 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.6156, allocations: 32 kB / 0.8324 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.6174, allocations: 0.8822 MB / 0.8332 GB, free: 12.57 MB / 0.6544 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.005616/0.623, allocations: 4.907 MB / 0.838 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.6244, allocations: 0.624 MB / 0.8386 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/0.6251, allocations: 354.8 kB / 0.839 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.6257, allocations: 0.8355 MB / 0.8398 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.6258, allocations: 39.12 kB / 0.8398 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 2.355e-06/0.6258, allocations: 0 / 0.8398 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.00692/0.6327, allocations: 1.689 MB / 0.8415 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.6328, allocations: 63.97 kB / 0.8415 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.6344, allocations: 1.202 MB / 0.8427 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/0.6345, allocations: 37.7 kB / 0.8428 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.635, allocations: 0.5987 MB / 0.8433 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.6353, allocations: 224.8 kB / 0.8436 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.6355, allocations: 150.6 kB / 0.8437 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6356, allocations: 334 kB / 0.844 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.6363, allocations: 292.7 kB / 0.8443 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.6371, allocations: 0.491 MB / 0.8448 GB, free: 104 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.6385, allocations: 0.7083 MB / 0.8455 GB, free: 15.35 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6385, allocations: 0 / 0.8455 GB, free: 15.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004637/0.6431, allocations: 1.285 MB / 0.8467 GB, free: 14.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6432, allocations: 4 kB / 0.8467 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6432, allocations: 4 kB / 0.8467 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007311/0.6439, allocations: 164.6 kB / 0.8469 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.6445, allocations: 155.8 kB / 0.847 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008561/0.6454, allocations: 0.7123 MB / 0.8477 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.6467, allocations: 167 kB / 0.8479 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/0.6468, allocations: 31.98 kB / 0.8479 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001113/0.6479, allocations: 0.5565 MB / 0.8485 GB, free: 12.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008147/0.6488, allocations: 487 kB / 0.8489 GB, free: 11.69 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/0.6501, allocations: 0.7003 MB / 0.8496 GB, free: 10.94 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.6501, allocations: 0 / 0.8496 GB, free: 10.94 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004727/0.6549, allocations: 1.277 MB / 0.8509 GB, free: 9.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6549, allocations: 9.562 kB / 0.8509 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6549, allocations: 3.984 kB / 0.8509 GB, free: 9.637 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.6556, allocations: 160.8 kB / 0.851 GB, free: 9.477 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.6562, allocations: 151.8 kB / 0.8512 GB, free: 9.328 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008599/0.6571, allocations: 0.7239 MB / 0.8519 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6586, allocations: 139.5 kB / 0.852 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/0.6587, allocations: 35.98 kB / 0.852 GB, free: 8.406 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.0003384/0.659, allocations: 220.1 kB / 0.8523 GB, free: 8.184 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.6593, allocations: 134.3 kB / 0.8524 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.6641, allocations: 1.283 MB / 0.8536 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.6641, allocations: 11.98 kB / 0.8536 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.6641, allocations: 0 / 0.8536 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004015/0.6682, allocations: 1.107 MB / 0.8547 GB, free: 5.594 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/0.6746, allocations: 2.606 MB / 0.8573 GB, free: 2.879 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.6747, allocations: 4 kB / 0.8573 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.6752, allocations: 115.8 kB / 0.8574 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006179/0.6758, allocations: 152.9 kB / 0.8575 GB, free: 2.609 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.6759, allocations: 20 kB / 0.8576 GB, free: 2.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007768/0.6766, allocations: 0.7047 MB / 0.8582 GB, free: 1.859 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6767, allocations: 7.938 kB / 0.8582 GB, free: 1.852 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/0.6819, allocations: 1.711 MB / 0.8599 GB, free: 72 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.6826, allocations: 303.2 kB / 0.8602 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.6828, allocations: 16 kB / 0.8602 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/0.6837, allocations: 87.81 kB / 0.8603 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.6838, allocations: 56.23 kB / 0.8604 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.6839, allocations: 31.98 kB / 0.8604 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001248/0.6852, allocations: 0.8658 MB / 0.8612 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6852, allocations: 0 / 0.8612 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001778/0.6869, allocations: 0.7018 MB / 0.8619 GB, free: 14 MB / 0.6856 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.0009392/0.6879, allocations: 450.3 kB / 0.8624 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00255/0.6905, allocations: 1.121 MB / 0.8634 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6905, allocations: 4 kB / 0.8635 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009195/0.6914, allocations: 383.3 kB / 0.8638 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/0.695, allocations: 0.7711 MB / 0.8646 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.6988, allocations: 2.749 MB / 0.8673 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.6995, allocations: 1.164 MB / 0.8684 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001247/0.7007, allocations: 299 kB / 0.8687 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.701, allocations: 103.4 kB / 0.8688 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/0.701, allocations: 4 kB / 0.8688 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of Templates: time 0.04527/0.7463, allocations: 30.41 MB / 0.8985 GB, free: 8.867 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)