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.001402/0.001402, allocations: 117.1 kB / 16.42 MB, free: 6.492 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.001379/0.001379, allocations: 183 kB / 17.34 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8369/0.8369, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.33 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1541, allocations: 80.93 MB / 0.6654 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.08245/0.2365, allocations: 75.28 MB / 0.7389 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3754/0.6119, allocations: 12.73 MB / 0.7513 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.6152, allocations: 65.34 kB / 0.7514 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.6183, allocations: 0.8704 MB / 0.7522 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009044/0.6274, allocations: 2.588 MB / 0.7548 GB, free: 25.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004491/0.6319, allocations: 1.392 MB / 0.7561 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008305/0.6402, allocations: 4.379 MB / 0.7604 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.6436, allocations: 1.188 MB / 0.7616 GB, free: 25.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/0.65, allocations: 1.66 MB / 0.7632 GB, free: 25.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003541/0.6535, allocations: 1.205 MB / 0.7643 GB, free: 25.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009442/0.6545, allocations: 165.2 kB / 0.7645 GB, free: 25.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.6598, allocations: 1.42 MB / 0.7659 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.6609, allocations: 421.6 kB / 0.7663 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002823/0.6637, allocations: 0.8992 MB / 0.7672 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007705/0.6714, allocations: 2.903 MB / 0.77 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.6714, allocations: 0.5312 kB / 0.77 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6714, allocations: 0.5312 kB / 0.77 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.993e-05/0.6715, allocations: 4 kB / 0.77 GB, free: 24.88 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.007291/0.6788, allocations: 2.145 MB / 0.7721 GB, free: 23.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.6789, allocations: 9.984 kB / 0.7721 GB, free: 23.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.6803, allocations: 232.2 kB / 0.7723 GB, free: 23.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/0.6842, allocations: 1.538 MB / 0.7738 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/0.6843, allocations: 76.91 kB / 0.7739 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.6846, allocations: 101.6 kB / 0.774 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.6874, allocations: 1.097 MB / 0.7751 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/0.6875, allocations: 3.375 kB / 0.7751 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.6876, allocations: 40.47 kB / 0.7751 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/0.6877, allocations: 30.48 kB / 0.7752 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.69, allocations: 0.8864 MB / 0.776 GB, free: 23.11 MB / 0.5762 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.007671/0.6976, allocations: 4.929 MB / 0.7808 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.6991, allocations: 0.5894 MB / 0.7814 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.6999, allocations: 324.7 kB / 0.7817 GB, free: 20.15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/0.7004, allocations: 0.8337 MB / 0.7825 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.7004, allocations: 38.84 kB / 0.7826 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.675e-06/0.7004, allocations: 0 / 0.7826 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.007321/0.7077, allocations: 1.702 MB / 0.7842 GB, free: 18.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7078, allocations: 61.62 kB / 0.7843 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.7104, allocations: 1.227 MB / 0.7855 GB, free: 18.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.7106, allocations: 39.27 kB / 0.7855 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.7112, allocations: 0.6078 MB / 0.7861 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.7115, allocations: 235.6 kB / 0.7863 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.7118, allocations: 151 kB / 0.7865 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.7119, allocations: 334.5 kB / 0.7868 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.7126, allocations: 292.2 kB / 0.7871 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008288/0.7134, allocations: 493.5 kB / 0.7876 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.7149, allocations: 0.702 MB / 0.7882 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.7149, allocations: 1.781 kB / 0.7882 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004978/0.7199, allocations: 1.29 MB / 0.7895 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.7199, allocations: 6.469 kB / 0.7895 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.7199, allocations: 5.406 kB / 0.7895 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000764/0.7207, allocations: 166 kB / 0.7897 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.7213, allocations: 154.8 kB / 0.7898 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007808/0.7221, allocations: 0.7132 MB / 0.7905 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.7235, allocations: 116.5 kB / 0.7906 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.7236, allocations: 34.73 kB / 0.7907 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001175/0.7248, allocations: 0.5617 MB / 0.7912 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007679/0.7255, allocations: 488.6 kB / 0.7917 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001291/0.7268, allocations: 0.7086 MB / 0.7924 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.728e-06/0.7268, allocations: 3.375 kB / 0.7924 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004637/0.7315, allocations: 1.272 MB / 0.7936 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7315, allocations: 5.469 kB / 0.7936 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7315, allocations: 3.094 kB / 0.7936 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.7321, allocations: 157.8 kB / 0.7938 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.7327, allocations: 157.9 kB / 0.7939 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007072/0.7334, allocations: 0.7222 MB / 0.7946 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.7349, allocations: 102.4 kB / 0.7947 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.735, allocations: 34.33 kB / 0.7948 GB, free: 12.12 MB / 0.5762 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.0002634/0.7352, allocations: 227.1 kB / 0.795 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/0.7357, allocations: 142.2 kB / 0.7951 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.7402, allocations: 1.276 MB / 0.7964 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.7402, allocations: 9.984 kB / 0.7964 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.7402, allocations: 0 / 0.7964 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003731/0.7439, allocations: 1.107 MB / 0.7974 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007128/0.751, allocations: 2.632 MB / 0.8 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.7511, allocations: 2.719 kB / 0.8 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.7515, allocations: 113.4 kB / 0.8001 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006389/0.7522, allocations: 153.7 kB / 0.8003 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/0.7522, allocations: 20.33 kB / 0.8003 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007038/0.7529, allocations: 0.7123 MB / 0.801 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.753, allocations: 8.422 kB / 0.801 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005034/0.758, allocations: 1.704 MB / 0.8027 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.759, allocations: 316.8 kB / 0.803 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005544/0.7596, allocations: 13.75 kB / 0.803 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.7608, allocations: 53.33 kB / 0.803 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.7609, allocations: 66.97 kB / 0.8031 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.731e-05/0.761, allocations: 30.27 kB / 0.8031 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001638/0.7627, allocations: 0.882 MB / 0.804 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7627, allocations: 0 / 0.804 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002977/0.7656, allocations: 0.7143 MB / 0.8047 GB, free: 5.996 MB / 0.5762 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.001292/0.7669, allocations: 463.7 kB / 0.8051 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002771/0.7697, allocations: 1.067 MB / 0.8062 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7697, allocations: 0 / 0.8062 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.7706, allocations: 370.8 kB / 0.8065 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/0.7749, allocations: 0.8065 MB / 0.8073 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.779, allocations: 2.33 MB / 0.8096 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.7797, allocations: 1.164 MB / 0.8107 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.78, allocations: 115.4 kB / 0.8108 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/0.78, allocations: 4 kB / 0.8108 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of Templates: time 0.04945/0.8295, allocations: 31.35 MB / 0.8415 GB, free: 1.574 MB / 0.6075 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)