Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 181.8 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.7951/0.7951, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.597/1.597, allocations: 222.9 MB / 403.4 MB, free: 7.074 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.0009578/0.0009577, allocations: 99 kB / 484.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 63.91 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.137, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4093/0.5463, allocations: 131.3 MB / 0.7684 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03242/0.5788, allocations: 23.29 MB / 0.7912 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/0.5834, allocations: 115.2 kB / 0.7913 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.004084/0.5875, allocations: 1.212 MB / 0.7925 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.5985, allocations: 3.763 MB / 0.7961 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005397/0.6039, allocations: 1.96 MB / 0.798 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.009945/0.6138, allocations: 8.332 MB / 0.8062 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00389/0.6178, allocations: 1.97 MB / 0.8081 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005905/0.6237, allocations: 2.384 MB / 0.8104 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/0.6273, allocations: 1.874 MB / 0.8123 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006769/0.628, allocations: 120 kB / 0.8124 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004829/0.6328, allocations: 1.742 MB / 0.8141 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0008748/0.6337, allocations: 0.4898 MB / 0.8146 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.003076/0.6368, allocations: 1.321 MB / 0.8159 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.007483/0.6443, allocations: 4.238 MB / 0.82 GB, free: 364 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6444, allocations: 0 / 0.82 GB, free: 364 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6444, allocations: 0 / 0.82 GB, free: 364 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001141/0.6445, allocations: 4 kB / 0.82 GB, free: 360 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007681/0.6522, allocations: 3.196 MB / 0.8231 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6522, allocations: 12.03 kB / 0.8231 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004723/0.657, allocations: 0.8362 MB / 0.8239 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00491/0.6619, allocations: 2.26 MB / 0.8262 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/0.6629, allocations: 286.9 kB / 0.8264 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/0.6633, allocations: 160 kB / 0.8266 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004379/0.6677, allocations: 1.934 MB / 0.8285 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.6677, allocations: 7.938 kB / 0.8285 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.6679, allocations: 71.98 kB / 0.8285 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.668, allocations: 39.94 kB / 0.8286 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005064/0.673, allocations: 1.827 MB / 0.8304 GB, free: 5.5 MB / 0.5573 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.01273/0.6858, allocations: 9.024 MB / 0.8392 GB, free: 11.88 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004214/0.69, allocations: 1.203 MB / 0.8404 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.6911, allocations: 457.4 kB / 0.8408 GB, free: 10.21 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.6922, allocations: 1.727 MB / 0.8425 GB, free: 8.094 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.6922, allocations: 38.56 kB / 0.8425 GB, free: 8.047 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 2.675e-06/0.6922, allocations: 0 / 0.8425 GB, free: 8.047 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.008243/0.7005, allocations: 2.336 MB / 0.8448 GB, free: 5.656 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.7005, allocations: 89.11 kB / 0.8449 GB, free: 5.551 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/0.7043, allocations: 2.52 MB / 0.8473 GB, free: 3.012 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.7045, allocations: 41.7 kB / 0.8474 GB, free: 2.965 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008049/0.7053, allocations: 1.042 MB / 0.8484 GB, free: 1.914 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.7055, allocations: 284 kB / 0.8487 GB, free: 1.633 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.7059, allocations: 254.6 kB / 0.8489 GB, free: 1.375 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7061, allocations: 353.9 kB / 0.8492 GB, free: 1.023 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.7078, allocations: 0.5842 MB / 0.8498 GB, free: 452 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.7099, allocations: 0.966 MB / 0.8508 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/0.7128, allocations: 1.268 MB / 0.852 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.7128, allocations: 4 kB / 0.852 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006261/0.7191, allocations: 2.044 MB / 0.854 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.7192, allocations: 12.12 kB / 0.854 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.7192, allocations: 12 kB / 0.854 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.7208, allocations: 497 kB / 0.8545 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.722, allocations: 287.5 kB / 0.8548 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.7241, allocations: 1.516 MB / 0.8562 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/0.7268, allocations: 445.9 kB / 0.8567 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.7269, allocations: 55.97 kB / 0.8567 GB, free: 9.031 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007598/0.7277, allocations: 461.5 kB / 0.8572 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/0.7281, allocations: 248.8 kB / 0.8574 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.7316, allocations: 1.498 MB / 0.8589 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.7316, allocations: 12 kB / 0.8589 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7316, allocations: 0 / 0.8589 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.7317, allocations: 3.984 kB / 0.8589 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007079/0.7387, allocations: 3.615 MB / 0.8624 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.7388, allocations: 4 kB / 0.8624 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.7394, allocations: 128.2 kB / 0.8625 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.7409, allocations: 498.8 kB / 0.863 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.741, allocations: 27.98 kB / 0.863 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.7435, allocations: 1.585 MB / 0.8646 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7435, allocations: 11.88 kB / 0.8646 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008038/0.7515, allocations: 3.52 MB / 0.868 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009821/0.7525, allocations: 489.6 kB / 0.8685 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.7528, allocations: 19.98 kB / 0.8685 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.7545, allocations: 171.7 kB / 0.8687 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.7547, allocations: 59.81 kB / 0.8687 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.7547, allocations: 39.97 kB / 0.8688 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002892/0.7576, allocations: 1.773 MB / 0.8705 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7577, allocations: 0 / 0.8705 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002075/0.7597, allocations: 0.7061 MB / 0.8712 GB, free: 9.863 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.7609, allocations: 0.591 MB / 0.8718 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004126/0.765, allocations: 1.346 MB / 0.8731 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.765, allocations: 8.188 kB / 0.8731 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00232/0.7673, allocations: 0.6661 MB / 0.8738 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006161/0.7735, allocations: 1.257 MB / 0.875 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.78, allocations: 4.797 MB / 0.8797 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009899/0.781, allocations: 1.513 MB / 0.8811 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001923/0.783, allocations: 439 kB / 0.8816 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.7834, allocations: 167.4 kB / 0.8817 GB, free: 15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.7834, allocations: 0 / 0.8817 GB, free: 15 MB / 0.6198 GB Notification: Performance of Templates: time 0.07917/0.8626, allocations: 49.94 MB / 0.9305 GB, free: 13.55 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)