Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.773/0.773, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 403.3 MB, free: 7.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 113.8 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 52.11 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1353, allocations: 80.21 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3235/0.4589, allocations: 74.69 MB / 0.7131 GB, free: 22.76 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.4754, allocations: 12.79 MB / 0.7256 GB, free: 19.45 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.4785, allocations: 59.66 kB / 0.7257 GB, free: 19.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.4809, allocations: 0.6743 MB / 0.7263 GB, free: 19.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006967/0.4879, allocations: 2.262 MB / 0.7285 GB, free: 17.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.4915, allocations: 1.265 MB / 0.7298 GB, free: 16.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006469/0.498, allocations: 5.561 MB / 0.7352 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.5003, allocations: 1.196 MB / 0.7364 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.5037, allocations: 1.379 MB / 0.7377 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.5061, allocations: 1.177 MB / 0.7389 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004496/0.5066, allocations: 71.84 kB / 0.7389 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.5103, allocations: 1.276 MB / 0.7402 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008261/0.5112, allocations: 312.4 kB / 0.7405 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002299/0.5135, allocations: 0.8139 MB / 0.7413 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.5181, allocations: 2.789 MB / 0.744 GB, free: 9.699 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5181, allocations: 0 / 0.744 GB, free: 9.699 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5181, allocations: 0 / 0.744 GB, free: 9.699 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.494e-05/0.5182, allocations: 0 / 0.744 GB, free: 9.699 MB / 490.7 MB 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.004162/0.5224, allocations: 2.092 MB / 0.746 GB, free: 8.105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5224, allocations: 8.062 kB / 0.746 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008373/0.5233, allocations: 230.6 kB / 0.7463 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.5254, allocations: 1.493 MB / 0.7477 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.5254, allocations: 75.69 kB / 0.7478 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5256, allocations: 100.6 kB / 0.7479 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.5273, allocations: 1.106 MB / 0.749 GB, free: 6.055 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.5273, allocations: 0 / 0.749 GB, free: 6.055 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/0.5274, allocations: 43.27 kB / 0.749 GB, free: 6.023 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.5274, allocations: 23.88 kB / 0.749 GB, free: 6.023 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.5291, allocations: 0.89 MB / 0.7499 GB, free: 5.57 MB / 490.7 MB 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.00474/0.5338, allocations: 4.903 MB / 0.7547 GB, free: 1.344 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.5351, allocations: 0.6421 MB / 0.7553 GB, free: 1.023 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.5358, allocations: 359.6 kB / 0.7556 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.5362, allocations: 0.8292 MB / 0.7565 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5363, allocations: 37.41 kB / 0.7565 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=62): time 2.454e-06/0.5363, allocations: 4 kB / 0.7565 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=62): time 0.007362/0.5436, allocations: 1.689 MB / 0.7581 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.5437, allocations: 59.95 kB / 0.7582 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.5455, allocations: 1.202 MB / 0.7594 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.5456, allocations: 45.7 kB / 0.7594 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/0.5461, allocations: 0.5987 MB / 0.76 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.5464, allocations: 220.9 kB / 0.7602 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.5466, allocations: 162.4 kB / 0.7604 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5467, allocations: 333.9 kB / 0.7607 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006907/0.5474, allocations: 288.7 kB / 0.761 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008754/0.5483, allocations: 487 kB / 0.7614 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.5498, allocations: 0.712 MB / 0.7621 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5498, allocations: 4 kB / 0.7621 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0048/0.5546, allocations: 1.277 MB / 0.7634 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.5546, allocations: 5.094 kB / 0.7634 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5546, allocations: 4.375 kB / 0.7634 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/0.5553, allocations: 164.6 kB / 0.7635 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.5559, allocations: 155.8 kB / 0.7637 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008507/0.5568, allocations: 0.7131 MB / 0.7644 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.558, allocations: 160 kB / 0.7645 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.5581, allocations: 32 kB / 0.7646 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001076/0.5592, allocations: 0.5526 MB / 0.7651 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008269/0.56, allocations: 498.9 kB / 0.7656 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001404/0.5614, allocations: 0.7003 MB / 0.7663 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.5614, allocations: 0 / 0.7663 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00484/0.5663, allocations: 1.267 MB / 0.7675 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.5663, allocations: 4 kB / 0.7675 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5663, allocations: 4 kB / 0.7675 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.567, allocations: 165.1 kB / 0.7677 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.5676, allocations: 155.7 kB / 0.7678 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008595/0.5685, allocations: 0.7201 MB / 0.7685 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.5697, allocations: 143.3 kB / 0.7687 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.5698, allocations: 31.97 kB / 0.7687 GB, free: 2.961 MB / 0.4948 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.0002293/0.57, allocations: 233.3 kB / 0.7689 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.5703, allocations: 134.3 kB / 0.769 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004846/0.5752, allocations: 1.275 MB / 0.7703 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.5752, allocations: 8 kB / 0.7703 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5752, allocations: 0 / 0.7703 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004311/0.5795, allocations: 1.115 MB / 0.7714 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006728/0.5863, allocations: 2.602 MB / 0.7739 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5863, allocations: 4 kB / 0.7739 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.5868, allocations: 116.2 kB / 0.774 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006031/0.5874, allocations: 156.7 kB / 0.7742 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.5875, allocations: 19.98 kB / 0.7742 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007986/0.5883, allocations: 0.7084 MB / 0.7749 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.5883, allocations: 8.781 kB / 0.7749 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03976/0.628, allocations: 12.02 MB / 0.7867 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/0.6287, allocations: 311 kB / 0.7869 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.6289, allocations: 23.98 kB / 0.787 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009496/0.6299, allocations: 83.97 kB / 0.787 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.63, allocations: 52.31 kB / 0.7871 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/0.6301, allocations: 27.98 kB / 0.7871 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001313/0.6315, allocations: 0.8738 MB / 0.788 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.714e-06/0.6315, allocations: 112 / 0.788 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002847/0.6343, allocations: 1.104 MB / 0.7891 GB, free: 13.48 MB / 0.5261 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.0009066/0.6352, allocations: 456.9 kB / 0.7895 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002593/0.6378, allocations: 1.121 MB / 0.7906 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6379, allocations: 0 / 0.7906 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/0.6388, allocations: 386.4 kB / 0.791 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/0.6424, allocations: 0.7585 MB / 0.7917 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.647, allocations: 3.34 MB / 0.795 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/0.6478, allocations: 1.206 MB / 0.7961 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001279/0.6491, allocations: 318.9 kB / 0.7964 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.6494, allocations: 103.4 kB / 0.7965 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.6494, allocations: 4 kB / 0.7965 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of Templates: time 0.05742/0.7069, allocations: 33.74 MB / 0.8295 GB, free: 4.273 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)