Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001087/0.001087, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.00107/0.001071, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7275/0.7275, allocations: 132.2 MB / 422.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001139, allocations: 55.55 kB / 0.5019 GB, free: 9.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1882, allocations: 80.21 MB / 0.5802 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.349/0.5372, allocations: 74.51 MB / 0.653 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.552, allocations: 12.63 MB / 0.6653 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.5549, allocations: 64.62 kB / 0.6654 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.5573, allocations: 0.7171 MB / 0.6661 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006625/0.564, allocations: 2.284 MB / 0.6683 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003547/0.5675, allocations: 1.278 MB / 0.6696 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00748/0.575, allocations: 4.414 MB / 0.6739 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002866/0.5779, allocations: 1.436 MB / 0.6753 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005086/0.583, allocations: 1.625 MB / 0.6769 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.5859, allocations: 1.234 MB / 0.6781 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005216/0.5864, allocations: 162.2 kB / 0.6782 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.5908, allocations: 1.436 MB / 0.6796 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007747/0.5916, allocations: 409.1 kB / 0.68 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.5935, allocations: 0.904 MB / 0.6809 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005121/0.5986, allocations: 2.252 MB / 0.6831 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.5987, allocations: 0 / 0.6831 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.017e-06/0.5987, allocations: 3.938 kB / 0.6831 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.886e-05/0.5987, allocations: 5.312 kB / 0.6831 GB, free: 10.27 MB / 0.5137 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.005019/0.6038, allocations: 2.088 MB / 0.6851 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.6038, allocations: 10.12 kB / 0.6851 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009554/0.6048, allocations: 231.1 kB / 0.6854 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.6079, allocations: 1.493 MB / 0.6868 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.608, allocations: 75.88 kB / 0.6869 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.6081, allocations: 104.7 kB / 0.687 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.6104, allocations: 1.104 MB / 0.6881 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.6105, allocations: 1.344 kB / 0.6881 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.6106, allocations: 42.53 kB / 0.6881 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.6106, allocations: 29.86 kB / 0.6881 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.6127, allocations: 0.8831 MB / 0.689 GB, free: 6.98 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.007794/0.6205, allocations: 4.906 MB / 0.6938 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.622, allocations: 0.6282 MB / 0.6944 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007692/0.6228, allocations: 353.9 kB / 0.6948 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007456/0.6235, allocations: 0.8313 MB / 0.6956 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.6236, allocations: 41.56 kB / 0.6956 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 6.592e-06/0.6236, allocations: 1.25 kB / 0.6956 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.007789/0.6314, allocations: 1.693 MB / 0.6973 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.6315, allocations: 58.47 kB / 0.6973 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.6335, allocations: 1.204 MB / 0.6985 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.6337, allocations: 43.67 kB / 0.6985 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.6343, allocations: 0.6087 MB / 0.6991 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.6346, allocations: 214.1 kB / 0.6993 GB, free: 448 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.6348, allocations: 159.6 kB / 0.6995 GB, free: 364 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.635, allocations: 334.1 kB / 0.6998 GB, free: 40 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.6357, allocations: 287.4 kB / 0.7001 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.6366, allocations: 490.5 kB / 0.7005 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.6381, allocations: 0.711 MB / 0.7012 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.6381, allocations: 0 / 0.7012 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005223/0.6433, allocations: 1.28 MB / 0.7025 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.6434, allocations: 8.031 kB / 0.7025 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.6434, allocations: 7.234 kB / 0.7025 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009316/0.6443, allocations: 159.4 kB / 0.7027 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.6452, allocations: 152 kB / 0.7028 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.6463, allocations: 0.7156 MB / 0.7035 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.6481, allocations: 160.6 kB / 0.7037 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.878e-05/0.6482, allocations: 31.53 kB / 0.7037 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001286/0.6495, allocations: 0.553 MB / 0.7042 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000852/0.6504, allocations: 487.7 kB / 0.7047 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001455/0.6518, allocations: 0.7071 MB / 0.7054 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.927e-06/0.6518, allocations: 1.094 kB / 0.7054 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004926/0.6568, allocations: 1.265 MB / 0.7066 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.6568, allocations: 6.062 kB / 0.7066 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6569, allocations: 11.17 kB / 0.7066 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/0.6575, allocations: 158.4 kB / 0.7068 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.6582, allocations: 154.6 kB / 0.7069 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009113/0.6591, allocations: 0.7185 MB / 0.7076 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.6609, allocations: 146.6 kB / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.661, allocations: 34.22 kB / 0.7078 GB, free: 12.06 MB / 0.5294 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.0004115/0.6614, allocations: 224.7 kB / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/0.6619, allocations: 136 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/0.6667, allocations: 1.288 MB / 0.7094 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.6668, allocations: 6.375 kB / 0.7094 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.6668, allocations: 1.625 kB / 0.7094 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004187/0.671, allocations: 1.113 MB / 0.7105 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00739/0.6784, allocations: 2.613 MB / 0.7131 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.6784, allocations: 3.312 kB / 0.7131 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.679, allocations: 120.2 kB / 0.7132 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/0.6796, allocations: 143.6 kB / 0.7133 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.6797, allocations: 20.75 kB / 0.7133 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008271/0.6805, allocations: 0.7114 MB / 0.714 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6806, allocations: 6.859 kB / 0.714 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/0.6861, allocations: 1.701 MB / 0.7157 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009502/0.687, allocations: 315.6 kB / 0.716 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.6873, allocations: 13.38 kB / 0.716 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009394/0.6883, allocations: 93.06 kB / 0.7161 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6884, allocations: 56.91 kB / 0.7161 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.6885, allocations: 29.14 kB / 0.7162 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001278/0.6898, allocations: 0.8769 MB / 0.717 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6898, allocations: 0 / 0.717 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002264/0.692, allocations: 0.7018 MB / 0.7177 GB, free: 5.316 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 (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.001078/0.6931, allocations: 448 kB / 0.7181 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002894/0.696, allocations: 1.162 MB / 0.7193 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6961, allocations: 0 / 0.7193 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.697, allocations: 400.1 kB / 0.7197 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/0.701, allocations: 0.8016 MB / 0.7204 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.7055, allocations: 2.782 MB / 0.7232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007439/0.7063, allocations: 1.164 MB / 0.7243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.7068, allocations: 107.4 kB / 0.7244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of SimCode: time 9.21e-07/0.7068, allocations: 3.938 kB / 0.7244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of Templates: time 0.04062/0.7475, allocations: 30.87 MB / 0.7545 GB, free: 15.78 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)