Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00077/0.00077, allocations: 92.08 kB / 16.02 MB, free: 76 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.0008598/0.0008598, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9346/0.9346, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 11.98 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1667, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4178/0.5845, allocations: 129.3 MB / 0.7149 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03363/0.6182, allocations: 23.03 MB / 0.7374 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/0.6231, allocations: 109.1 kB / 0.7375 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.6272, allocations: 1.209 MB / 0.7387 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.6393, allocations: 3.771 MB / 0.7424 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005712/0.645, allocations: 1.968 MB / 0.7443 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01099/0.656, allocations: 8.278 MB / 0.7524 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.6599, allocations: 1.928 MB / 0.7542 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.6655, allocations: 2.294 MB / 0.7565 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.6687, allocations: 1.796 MB / 0.7582 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000437/0.6692, allocations: 88 kB / 0.7583 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.6737, allocations: 1.719 MB / 0.76 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000581/0.6743, allocations: 449.6 kB / 0.7604 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.6762, allocations: 1.292 MB / 0.7617 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004301/0.6805, allocations: 3.25 MB / 0.7649 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6805, allocations: 0 / 0.7649 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6805, allocations: 4 kB / 0.7649 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.448e-05/0.6806, allocations: 0 / 0.7649 GB, free: 7.855 MB / 0.5762 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.005414/0.686, allocations: 2.686 MB / 0.7675 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6861, allocations: 8.031 kB / 0.7675 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.6908, allocations: 0.9572 MB / 0.7684 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/0.6951, allocations: 2.274 MB / 0.7707 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/0.6962, allocations: 330.8 kB / 0.771 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.6965, allocations: 160 kB / 0.7711 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/0.7006, allocations: 1.981 MB / 0.7731 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.7006, allocations: 0 / 0.7731 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.7008, allocations: 64 kB / 0.7731 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.7008, allocations: 39.94 kB / 0.7732 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004895/0.7057, allocations: 1.909 MB / 0.775 GB, free: 13.23 MB / 0.5919 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.01247/0.7182, allocations: 9.112 MB / 0.7839 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/0.7227, allocations: 1.296 MB / 0.7852 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.7239, allocations: 485.4 kB / 0.7856 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.725, allocations: 1.723 MB / 0.7873 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.7251, allocations: 50.25 kB / 0.7874 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.505e-06/0.7251, allocations: 7.938 kB / 0.7874 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.00895/0.734, allocations: 2.507 MB / 0.7898 GB, free: 13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.7341, allocations: 85.11 kB / 0.7899 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.738, allocations: 2.536 MB / 0.7924 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.7382, allocations: 45.7 kB / 0.7924 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008699/0.7391, allocations: 1.049 MB / 0.7935 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.7393, allocations: 272.2 kB / 0.7937 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.7395, allocations: 93.61 kB / 0.7938 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7396, allocations: 345.9 kB / 0.7941 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.7414, allocations: 0.6388 MB / 0.7948 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.7436, allocations: 1.013 MB / 0.7958 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.7468, allocations: 1.32 MB / 0.797 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.7468, allocations: 4 kB / 0.797 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007062/0.7539, allocations: 2.196 MB / 0.7992 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.7539, allocations: 8 kB / 0.7992 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.7539, allocations: 8 kB / 0.7992 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.7559, allocations: 0.4977 MB / 0.7997 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.7572, allocations: 307.6 kB / 0.8 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.7596, allocations: 1.553 MB / 0.8015 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/0.7627, allocations: 485.9 kB / 0.802 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.7629, allocations: 63.97 kB / 0.802 GB, free: 116 kB / 0.6075 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.0008838/0.7638, allocations: 458.9 kB / 0.8025 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/0.7642, allocations: 252.9 kB / 0.8027 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.7679, allocations: 1.545 MB / 0.8042 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.768, allocations: 15.98 kB / 0.8042 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.768, allocations: 4 kB / 0.8042 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.768, allocations: 3.984 kB / 0.8042 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007576/0.7756, allocations: 3.712 MB / 0.8079 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.7756, allocations: 4.062 kB / 0.8079 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006188/0.7762, allocations: 131.8 kB / 0.808 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.778, allocations: 0.507 MB / 0.8085 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/0.7781, allocations: 23.98 kB / 0.8085 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.7808, allocations: 1.647 MB / 0.8101 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.7808, allocations: 4.625 kB / 0.8101 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006396/0.7872, allocations: 2.08 MB / 0.8122 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.7883, allocations: 0.517 MB / 0.8127 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.7886, allocations: 20 kB / 0.8127 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.7905, allocations: 191.7 kB / 0.8129 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.7906, allocations: 59.86 kB / 0.8129 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-05/0.7907, allocations: 39.97 kB / 0.813 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002993/0.7937, allocations: 1.789 MB / 0.8147 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7937, allocations: 0 / 0.8147 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001842/0.7955, allocations: 0.6828 MB / 0.8154 GB, free: 2.176 MB / 0.6231 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.001023/0.7966, allocations: 0.615 MB / 0.816 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004139/0.8007, allocations: 1.437 MB / 0.8174 GB, free: 136 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.8007, allocations: 4.188 kB / 0.8174 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.8032, allocations: 0.7406 MB / 0.8181 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007328/0.8105, allocations: 1.319 MB / 0.8194 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007306/0.8179, allocations: 4.404 MB / 0.8237 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.8191, allocations: 1.483 MB / 0.8251 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000738/0.8198, allocations: 195.4 kB / 0.8253 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/0.8198, allocations: 0 / 0.8253 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of Templates: time 0.3957/1.215, allocations: 61.82 MB / 0.8857 GB, free: 210.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)