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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001153/0.001153, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7725/0.7725, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.56 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1477, allocations: 80.22 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4747/0.6225, allocations: 132.2 MB / 0.7894 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02688/0.6494, allocations: 23.19 MB / 0.8121 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005176/0.6546, allocations: 120.7 kB / 0.8122 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.6589, allocations: 1.5 MB / 0.8137 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.6696, allocations: 4.081 MB / 0.8176 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004915/0.6745, allocations: 2.169 MB / 0.8198 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008534/0.683, allocations: 6.535 MB / 0.8261 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/0.6867, allocations: 2.359 MB / 0.8284 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00605/0.6928, allocations: 2.836 MB / 0.8312 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.6959, allocations: 1.878 MB / 0.8331 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004085/0.6963, allocations: 251.4 kB / 0.8333 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/0.7006, allocations: 1.937 MB / 0.8352 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.7012, allocations: 0.5974 MB / 0.8358 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.7029, allocations: 1.457 MB / 0.8372 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005919/0.7088, allocations: 4.392 MB / 0.8415 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7088, allocations: 4 kB / 0.8415 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.836e-06/0.7088, allocations: 0 / 0.8415 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.913e-05/0.7089, allocations: 3.938 kB / 0.8415 GB, free: 1.977 MB / 0.5919 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.005445/0.7143, allocations: 3.176 MB / 0.8446 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.7144, allocations: 8.031 kB / 0.8446 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.719, allocations: 0.8473 MB / 0.8454 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/0.7234, allocations: 2.327 MB / 0.8477 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.7236, allocations: 123 kB / 0.8478 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.7238, allocations: 160 kB / 0.848 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004406/0.7282, allocations: 1.919 MB / 0.8498 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.7283, allocations: 4 kB / 0.8498 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.7284, allocations: 60 kB / 0.8499 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.7285, allocations: 43.94 kB / 0.8499 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.7333, allocations: 1.803 MB / 0.8517 GB, free: 7.281 MB / 0.6075 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.01401/0.7473, allocations: 8.997 MB / 0.8605 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004585/0.752, allocations: 1.195 MB / 0.8617 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.7532, allocations: 461.4 kB / 0.8621 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.7544, allocations: 1.722 MB / 0.8638 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.7545, allocations: 46.55 kB / 0.8638 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 4.438e-06/0.7545, allocations: 0 / 0.8638 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009125/0.7636, allocations: 2.33 MB / 0.8661 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.7637, allocations: 93.11 kB / 0.8662 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/0.7684, allocations: 2.524 MB / 0.8687 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.7686, allocations: 41.7 kB / 0.8687 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/0.7695, allocations: 1.042 MB / 0.8697 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.7699, allocations: 280.1 kB / 0.87 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/0.7704, allocations: 254.5 kB / 0.8702 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7705, allocations: 345.9 kB / 0.8705 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.7723, allocations: 0.5725 MB / 0.8711 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.7745, allocations: 0.9582 MB / 0.872 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.7777, allocations: 1.24 MB / 0.8733 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.7778, allocations: 7.938 kB / 0.8733 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006854/0.7846, allocations: 2.024 MB / 0.8752 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.7847, allocations: 8 kB / 0.8752 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.7847, allocations: 8 kB / 0.8753 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.7865, allocations: 0.4938 MB / 0.8757 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.7878, allocations: 275.6 kB / 0.876 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.79, allocations: 1.515 MB / 0.8775 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/0.7928, allocations: 365.9 kB / 0.8778 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.793, allocations: 63.97 kB / 0.8779 GB, free: 11 MB / 0.6387 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.0008921/0.7939, allocations: 461.5 kB / 0.8783 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/0.7945, allocations: 248.9 kB / 0.8786 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.7984, allocations: 1.498 MB / 0.88 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.7984, allocations: 15.92 kB / 0.88 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7984, allocations: 4 kB / 0.88 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7984, allocations: 7.984 kB / 0.8801 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007995/0.8064, allocations: 3.617 MB / 0.8836 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.8065, allocations: 7.938 kB / 0.8836 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.8071, allocations: 128.2 kB / 0.8837 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.8089, allocations: 494.5 kB / 0.8842 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.809, allocations: 27.97 kB / 0.8842 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/0.8118, allocations: 1.591 MB / 0.8858 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8118, allocations: 4 kB / 0.8858 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/0.8184, allocations: 1.935 MB / 0.8877 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.8197, allocations: 489.5 kB / 0.8881 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006631/0.8203, allocations: 19.94 kB / 0.8881 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/0.8224, allocations: 139.8 kB / 0.8883 GB, free: 96 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.8225, allocations: 63.86 kB / 0.8883 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.8226, allocations: 39.95 kB / 0.8884 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003584/0.8262, allocations: 1.773 MB / 0.8901 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8262, allocations: 4 kB / 0.8901 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00247/0.8287, allocations: 0.6906 MB / 0.8908 GB, free: 13.52 MB / 0.6544 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.001404/0.8301, allocations: 0.6012 MB / 0.8914 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004422/0.8346, allocations: 1.346 MB / 0.8927 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.8346, allocations: 3.938 kB / 0.8927 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.8371, allocations: 0.6751 MB / 0.8934 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006717/0.8438, allocations: 1.329 MB / 0.8947 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/0.8512, allocations: 3.592 MB / 0.8982 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.8525, allocations: 1.482 MB / 0.8996 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/0.8533, allocations: 183.4 kB / 0.8998 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of SimCode: time 6.42e-07/0.8533, allocations: 0 / 0.8998 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.07927/0.9326, allocations: 62.76 MB / 0.9611 GB, free: 5.695 MB / 0.7169 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)