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.001154/0.001154, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.469/1.469, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.586/1.586, allocations: 251.7 MB / 0.5092 GB, free: 3.074 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.001546/0.001546, allocations: 67.91 kB / 0.6223 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5436, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.0747/0.6184, allocations: 75.2 MB / 0.7979 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.635, allocations: 12.6 MB / 0.8102 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.6371, allocations: 63.62 kB / 0.8103 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.6391, allocations: 0.8306 MB / 0.8111 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.6451, allocations: 2.435 MB / 0.8135 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.6484, allocations: 1.353 MB / 0.8148 GB, free: 152 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005872/0.6543, allocations: 4.328 MB / 0.819 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.6564, allocations: 1.429 MB / 0.8204 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.6604, allocations: 1.62 MB / 0.822 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.6627, allocations: 1.19 MB / 0.8232 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003153/0.663, allocations: 164 kB / 0.8233 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.6668, allocations: 1.415 MB / 0.8247 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004909/0.6673, allocations: 394.7 kB / 0.8251 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.6684, allocations: 0.8982 MB / 0.826 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.6722, allocations: 2.847 MB / 0.8287 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6723, allocations: 0 / 0.8287 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6723, allocations: 0 / 0.8287 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.6723, allocations: 0 / 0.8287 GB, free: 1.801 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.003577/0.6759, allocations: 2.075 MB / 0.8308 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.6759, allocations: 8.031 kB / 0.8308 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/0.6767, allocations: 226.9 kB / 0.831 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.679, allocations: 1.439 MB / 0.8324 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.679, allocations: 78 kB / 0.8325 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.6792, allocations: 104 kB / 0.8326 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.6811, allocations: 1.092 MB / 0.8336 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.6811, allocations: 0 / 0.8336 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.6812, allocations: 36 kB / 0.8337 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.6813, allocations: 31.98 kB / 0.8337 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.6832, allocations: 0.89 MB / 0.8346 GB, free: 11.67 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.005959/0.6891, allocations: 4.938 MB / 0.8394 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.6905, allocations: 0.631 MB / 0.84 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.6913, allocations: 354.3 kB / 0.8404 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.6919, allocations: 0.8238 MB / 0.8412 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.692, allocations: 43.06 kB / 0.8412 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 2.124e-06/0.692, allocations: 0 / 0.8412 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.007472/0.6994, allocations: 1.701 MB / 0.8429 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.6995, allocations: 59.97 kB / 0.8429 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.7016, allocations: 1.213 MB / 0.8441 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.7017, allocations: 45.7 kB / 0.8441 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.7023, allocations: 0.5947 MB / 0.8447 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.7025, allocations: 216.8 kB / 0.8449 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.7028, allocations: 154.5 kB / 0.8451 GB, free: 348 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7029, allocations: 334 kB / 0.8454 GB, free: 8 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/0.7036, allocations: 296.7 kB / 0.8457 GB, free: 15.71 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/0.7045, allocations: 498.9 kB / 0.8462 GB, free: 15.15 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.7059, allocations: 0.712 MB / 0.8469 GB, free: 14.39 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.7059, allocations: 4 kB / 0.8469 GB, free: 14.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004884/0.7108, allocations: 1.281 MB / 0.8481 GB, free: 13.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.7108, allocations: 8 kB / 0.8481 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7108, allocations: 4 kB / 0.8481 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007159/0.7116, allocations: 161 kB / 0.8483 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.7122, allocations: 163.8 kB / 0.8484 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008698/0.7131, allocations: 0.711 MB / 0.8491 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.7143, allocations: 126.2 kB / 0.8492 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.7144, allocations: 35.98 kB / 0.8493 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001186/0.7156, allocations: 0.5566 MB / 0.8498 GB, free: 11.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008698/0.7165, allocations: 487 kB / 0.8503 GB, free: 10.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001431/0.7179, allocations: 0.7004 MB / 0.851 GB, free: 10.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.564e-06/0.7179, allocations: 3.938 kB / 0.851 GB, free: 10.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004968/0.7229, allocations: 1.273 MB / 0.8522 GB, free: 8.734 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.7229, allocations: 8 kB / 0.8522 GB, free: 8.727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.723, allocations: 4 kB / 0.8522 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/0.7236, allocations: 157.1 kB / 0.8524 GB, free: 8.566 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.7243, allocations: 155.8 kB / 0.8525 GB, free: 8.414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008558/0.7251, allocations: 0.72 MB / 0.8532 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.7263, allocations: 107.3 kB / 0.8533 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.7264, allocations: 35.98 kB / 0.8534 GB, free: 7.527 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.0002564/0.7267, allocations: 224.7 kB / 0.8536 GB, free: 7.301 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.7269, allocations: 134.3 kB / 0.8537 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004828/0.7318, allocations: 1.287 MB / 0.855 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.7318, allocations: 15.98 kB / 0.855 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.7318, allocations: 0 / 0.855 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004263/0.7361, allocations: 1.111 MB / 0.8561 GB, free: 4.699 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006893/0.743, allocations: 2.606 MB / 0.8586 GB, free: 1.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.743, allocations: 4 kB / 0.8586 GB, free: 1.977 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.7435, allocations: 115.8 kB / 0.8587 GB, free: 1.863 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006188/0.7441, allocations: 153.1 kB / 0.8589 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/0.7442, allocations: 23.98 kB / 0.8589 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008705/0.7451, allocations: 0.7084 MB / 0.8596 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7451, allocations: 4 kB / 0.8596 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/0.7505, allocations: 1.703 MB / 0.8613 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000596/0.7511, allocations: 311.1 kB / 0.8616 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.7513, allocations: 16 kB / 0.8616 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.7521, allocations: 52 kB / 0.8616 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.7522, allocations: 56.25 kB / 0.8617 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.7523, allocations: 35.97 kB / 0.8617 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001259/0.7535, allocations: 0.8697 MB / 0.8626 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7535, allocations: 4 kB / 0.8626 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001793/0.7553, allocations: 0.7096 MB / 0.8633 GB, free: 13.11 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.0008793/0.7562, allocations: 475.3 kB / 0.8637 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002864/0.7591, allocations: 1.156 MB / 0.8648 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7591, allocations: 4.125 kB / 0.8648 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.7601, allocations: 399.1 kB / 0.8652 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/0.764, allocations: 0.8158 MB / 0.866 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.7683, allocations: 2.284 MB / 0.8682 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.7691, allocations: 1.172 MB / 0.8694 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001259/0.7704, allocations: 295.1 kB / 0.8697 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.7707, allocations: 103.4 kB / 0.8698 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/0.7707, allocations: 0 / 0.8698 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of Templates: time 0.05954/0.8302, allocations: 32.14 MB / 0.9012 GB, free: 6.633 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)