Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.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.0008502/0.0008501, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008992/0.0008993, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8583/0.8583, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002645, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1514, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.2805/0.4319, allocations: 62.93 MB / 0.6486 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4452, allocations: 10.97 MB / 0.6594 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.4471, allocations: 57.06 kB / 0.6594 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.4492, allocations: 0.7421 MB / 0.6601 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.4552, allocations: 2.299 MB / 0.6624 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.4595, allocations: 1.512 MB / 0.6639 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005421/0.4649, allocations: 2.504 MB / 0.6663 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.4668, allocations: 1.04 MB / 0.6673 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.4702, allocations: 1.154 MB / 0.6684 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.4717, allocations: 0.771 MB / 0.6692 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.4719, allocations: 55.47 kB / 0.6693 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.4743, allocations: 0.851 MB / 0.6701 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.4747, allocations: 263.8 kB / 0.6703 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.4752, allocations: 363.4 kB / 0.6707 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.4781, allocations: 2.025 MB / 0.6727 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4782, allocations: 0 / 0.6727 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4782, allocations: 0 / 0.6727 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.4782, allocations: 0 / 0.6727 GB, free: 1.512 MB / 0.4981 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.003514/0.4817, allocations: 1.784 MB / 0.6744 GB, free: 360 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4818, allocations: 9.562 kB / 0.6744 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000857/0.4826, allocations: 247.8 kB / 0.6746 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.4854, allocations: 1.377 MB / 0.676 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.4854, allocations: 79.64 kB / 0.6761 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.4856, allocations: 101.4 kB / 0.6762 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.4878, allocations: 1.106 MB / 0.6772 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.4878, allocations: 5.156 kB / 0.6772 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.4879, allocations: 37.38 kB / 0.6773 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/0.488, allocations: 26.42 kB / 0.6773 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.49, allocations: 0.9261 MB / 0.6782 GB, free: 14.51 MB / 0.5137 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.007108/0.4971, allocations: 4.955 MB / 0.6831 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.4985, allocations: 0.6618 MB / 0.6837 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/0.4991, allocations: 0.831 MB / 0.6845 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.4991, allocations: 39.25 kB / 0.6845 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/0.4991, allocations: 0 / 0.6845 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.007044/0.5062, allocations: 1.887 MB / 0.6864 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.5062, allocations: 58.19 kB / 0.6864 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.5081, allocations: 1.244 MB / 0.6877 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.5082, allocations: 43.92 kB / 0.6877 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.5088, allocations: 0.6002 MB / 0.6883 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.509, allocations: 222.6 kB / 0.6885 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.5091, allocations: 14.53 kB / 0.6885 GB, free: 8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5093, allocations: 342.4 kB / 0.6888 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.5099, allocations: 295 kB / 0.6891 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.5108, allocations: 0.4905 MB / 0.6896 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.5115, allocations: 356.1 kB / 0.6899 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5116, allocations: 1.25 kB / 0.6899 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004637/0.5162, allocations: 1.401 MB / 0.6913 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005831/0.5168, allocations: 1.337 MB / 0.6926 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5168, allocations: 4.094 kB / 0.6926 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006956/0.5175, allocations: 170.9 kB / 0.6928 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.5181, allocations: 164.7 kB / 0.6929 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000844/0.519, allocations: 0.7256 MB / 0.6936 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.5205, allocations: 172 kB / 0.6938 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.774e-05/0.5206, allocations: 34.73 kB / 0.6938 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5206, allocations: 6.188 kB / 0.6939 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004228/0.5248, allocations: 1.257 MB / 0.6951 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5248, allocations: 7.375 kB / 0.6951 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.5254, allocations: 165 kB / 0.6952 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.526, allocations: 164.5 kB / 0.6954 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008503/0.5268, allocations: 0.7287 MB / 0.6961 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5281, allocations: 158.4 kB / 0.6963 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.5282, allocations: 30.09 kB / 0.6963 GB, free: 3.547 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007056/0.5289, allocations: 427 kB / 0.6967 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.5291, allocations: 131.4 kB / 0.6968 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/0.5335, allocations: 1.413 MB / 0.6982 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.5335, allocations: 8.578 kB / 0.6982 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5335, allocations: 0 / 0.6982 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003967/0.5375, allocations: 1.243 MB / 0.6994 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/0.5441, allocations: 2.779 MB / 0.7021 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.5441, allocations: 3.5 kB / 0.7021 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.5446, allocations: 120.4 kB / 0.7023 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005709/0.5451, allocations: 169.2 kB / 0.7024 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.5452, allocations: 16.62 kB / 0.7024 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/0.546, allocations: 0.7236 MB / 0.7031 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.546, allocations: 7.781 kB / 0.7031 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.5511, allocations: 2.055 MB / 0.7052 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/0.5518, allocations: 349.5 kB / 0.7055 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.552, allocations: 19.58 kB / 0.7055 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.5529, allocations: 98.66 kB / 0.7056 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.553, allocations: 49.86 kB / 0.7056 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.5531, allocations: 33.73 kB / 0.7057 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001202/0.5543, allocations: 0.9004 MB / 0.7066 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5543, allocations: 0 / 0.7066 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001876/0.5562, allocations: 0.7105 MB / 0.7073 GB, free: 13.59 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007587/0.5569, allocations: 454.1 kB / 0.7077 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002457/0.5594, allocations: 1.167 MB / 0.7088 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.5594, allocations: 2.906 kB / 0.7088 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.5602, allocations: 403.8 kB / 0.7092 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.5634, allocations: 0.7598 MB / 0.71 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.5672, allocations: 2.76 MB / 0.7127 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.5679, allocations: 1.204 MB / 0.7138 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001162/0.569, allocations: 305.9 kB / 0.7141 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.5693, allocations: 103.4 kB / 0.7142 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.5693, allocations: 0 / 0.7142 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of Templates: time 0.04793/0.6172, allocations: 29.86 MB / 0.7434 GB, free: 11.4 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: