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.005888/0.005888, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001269/0.001269, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9888/0.9888, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.91 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4517, allocations: 80.91 MB / 0.6647 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07604/0.5278, allocations: 75.15 MB / 0.738 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.5478, allocations: 12.73 MB / 0.7505 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004584/0.5525, allocations: 67.56 kB / 0.7505 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.5563, allocations: 0.858 MB / 0.7514 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008489/0.5648, allocations: 2.589 MB / 0.7539 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.569, allocations: 1.397 MB / 0.7553 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006959/0.576, allocations: 4.389 MB / 0.7595 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.5788, allocations: 1.445 MB / 0.761 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004607/0.5834, allocations: 1.654 MB / 0.7626 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.5862, allocations: 1.202 MB / 0.7637 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006728/0.5869, allocations: 164 kB / 0.7639 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.5908, allocations: 1.419 MB / 0.7653 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007191/0.5915, allocations: 406.6 kB / 0.7657 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.5937, allocations: 0.9021 MB / 0.7666 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006398/0.6001, allocations: 2.888 MB / 0.7694 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.6001, allocations: 0 / 0.7694 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6001, allocations: 0 / 0.7694 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.577e-05/0.6002, allocations: 0 / 0.7694 GB, free: 6.227 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00635/0.6066, allocations: 2.091 MB / 0.7714 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.6067, allocations: 12.03 kB / 0.7714 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.6079, allocations: 230.8 kB / 0.7717 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.6116, allocations: 1.524 MB / 0.7731 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.6117, allocations: 78 kB / 0.7732 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.612, allocations: 100 kB / 0.7733 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.6147, allocations: 1.104 MB / 0.7744 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.6147, allocations: 0 / 0.7744 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.6148, allocations: 44 kB / 0.7744 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.6149, allocations: 27.94 kB / 0.7745 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.6171, allocations: 0.8862 MB / 0.7753 GB, free: 15.98 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.007355/0.6245, allocations: 4.915 MB / 0.7801 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.626, allocations: 0.6274 MB / 0.7807 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.6269, allocations: 358 kB / 0.7811 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008256/0.6277, allocations: 0.8277 MB / 0.7819 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.6278, allocations: 39.12 kB / 0.7819 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 3.386e-06/0.6278, allocations: 0 / 0.7819 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.007656/0.6354, allocations: 1.697 MB / 0.7836 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.6355, allocations: 55.97 kB / 0.7836 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.6379, allocations: 1.225 MB / 0.7848 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.638, allocations: 41.7 kB / 0.7849 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006018/0.6386, allocations: 0.5987 MB / 0.7855 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.6389, allocations: 216.9 kB / 0.7857 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.6392, allocations: 154.5 kB / 0.7858 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6393, allocations: 341.9 kB / 0.7861 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/0.6401, allocations: 288.7 kB / 0.7864 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/0.641, allocations: 491 kB / 0.7869 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.6426, allocations: 0.708 MB / 0.7876 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.6426, allocations: 15.81 kB / 0.7876 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005205/0.6478, allocations: 1.269 MB / 0.7888 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.6479, allocations: 8 kB / 0.7888 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.6479, allocations: 7.984 kB / 0.7888 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008213/0.6487, allocations: 157 kB / 0.789 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.6494, allocations: 155.8 kB / 0.7891 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000962/0.6504, allocations: 0.72 MB / 0.7898 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.6516, allocations: 127 kB / 0.79 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/0.6517, allocations: 32.05 kB / 0.79 GB, free: 244 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001319/0.653, allocations: 0.5488 MB / 0.7905 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000897/0.654, allocations: 491 kB / 0.791 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001483/0.6554, allocations: 0.6964 MB / 0.7917 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/0.6555, allocations: 4 kB / 0.7917 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004987/0.6605, allocations: 1.269 MB / 0.7929 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6605, allocations: 8 kB / 0.7929 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6605, allocations: 4 kB / 0.7929 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.6612, allocations: 157.1 kB / 0.7931 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.6618, allocations: 159.7 kB / 0.7932 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009066/0.6627, allocations: 0.7223 MB / 0.7939 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.664, allocations: 95.42 kB / 0.794 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.6641, allocations: 27.98 kB / 0.7941 GB, free: 11.91 MB / 0.6231 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.0003173/0.6644, allocations: 241.8 kB / 0.7943 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/0.6648, allocations: 130.4 kB / 0.7944 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/0.6699, allocations: 1.275 MB / 0.7957 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.6699, allocations: 8 kB / 0.7957 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6699, allocations: 0 / 0.7957 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004432/0.6744, allocations: 1.119 MB / 0.7968 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007524/0.6819, allocations: 2.633 MB / 0.7993 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.682, allocations: 4 kB / 0.7993 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.6825, allocations: 115.8 kB / 0.7994 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006428/0.6831, allocations: 153.1 kB / 0.7996 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.6832, allocations: 16 kB / 0.7996 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000857/0.6841, allocations: 0.7123 MB / 0.8003 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.6841, allocations: 7.938 kB / 0.8003 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/0.6897, allocations: 1.711 MB / 0.802 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007583/0.6905, allocations: 303.2 kB / 0.8023 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.6909, allocations: 19.98 kB / 0.8023 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6919, allocations: 55.86 kB / 0.8023 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.6921, allocations: 56.38 kB / 0.8024 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.6921, allocations: 31.98 kB / 0.8024 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001674/0.6938, allocations: 0.8816 MB / 0.8033 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6938, allocations: 0 / 0.8033 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002382/0.6962, allocations: 0.7096 MB / 0.804 GB, free: 1.465 MB / 0.6231 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.001313/0.6975, allocations: 465.5 kB / 0.8044 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003191/0.7008, allocations: 1.137 MB / 0.8055 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7008, allocations: 0 / 0.8055 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.7018, allocations: 382.4 kB / 0.8059 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/0.7057, allocations: 0.8045 MB / 0.8067 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.7107, allocations: 2.256 MB / 0.8089 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.7119, allocations: 1.176 MB / 0.81 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001439/0.7134, allocations: 303 kB / 0.8103 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.7137, allocations: 111.4 kB / 0.8104 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/0.7137, allocations: 0 / 0.8104 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.05725/0.7709, allocations: 32.16 MB / 0.8418 GB, free: 10.94 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (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)