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.001176/0.001176, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001234/0.001234, allocations: 187 kB / 17.34 MB, free: 5.742 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8071/0.8071, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.19 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1548, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07158/0.2265, allocations: 75.15 MB / 0.7387 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.43/0.6565, allocations: 12.72 MB / 0.7511 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.6597, allocations: 64.22 kB / 0.7512 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.6625, allocations: 0.8295 MB / 0.752 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007797/0.6703, allocations: 2.456 MB / 0.7544 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.6743, allocations: 1.393 MB / 0.7558 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007771/0.6821, allocations: 4.384 MB / 0.76 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00329/0.6855, allocations: 1.442 MB / 0.7614 GB, free: 25.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005686/0.6912, allocations: 1.658 MB / 0.7631 GB, free: 25.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/0.6947, allocations: 1.207 MB / 0.7642 GB, free: 25.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007487/0.6954, allocations: 163 kB / 0.7644 GB, free: 25.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/0.7004, allocations: 1.42 MB / 0.7658 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009228/0.7014, allocations: 402.8 kB / 0.7662 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.7036, allocations: 0.8971 MB / 0.767 GB, free: 25.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007284/0.7109, allocations: 2.888 MB / 0.7699 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.711, allocations: 1.094 kB / 0.7699 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.264e-06/0.711, allocations: 0 / 0.7699 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.859e-05/0.711, allocations: 0 / 0.7699 GB, free: 24.84 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.005567/0.7166, allocations: 2.094 MB / 0.7719 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.7167, allocations: 10.27 kB / 0.7719 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.7177, allocations: 229.9 kB / 0.7721 GB, free: 23.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.7207, allocations: 1.521 MB / 0.7736 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.7208, allocations: 80.47 kB / 0.7737 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.721, allocations: 102.9 kB / 0.7738 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.7232, allocations: 1.101 MB / 0.7749 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.7233, allocations: 4.844 kB / 0.7749 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.7234, allocations: 40.91 kB / 0.7749 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.7234, allocations: 25.09 kB / 0.7749 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.7255, allocations: 0.8897 MB / 0.7758 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.006689/0.7322, allocations: 4.905 MB / 0.7806 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.7336, allocations: 0.6288 MB / 0.7812 GB, free: 20.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/0.7344, allocations: 353.6 kB / 0.7815 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.7349, allocations: 0.8345 MB / 0.7824 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.7349, allocations: 44.62 kB / 0.7824 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.7349, allocations: 0 / 0.7824 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.007588/0.7425, allocations: 1.692 MB / 0.7841 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.7426, allocations: 57.84 kB / 0.7841 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.7446, allocations: 1.23 MB / 0.7853 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.7448, allocations: 43.14 kB / 0.7854 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.7452, allocations: 0.5994 MB / 0.7859 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.7454, allocations: 216.7 kB / 0.7861 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.7456, allocations: 155.7 kB / 0.7863 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.7457, allocations: 333.2 kB / 0.7866 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.7464, allocations: 291.8 kB / 0.7869 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/0.7472, allocations: 488 kB / 0.7874 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.7485, allocations: 0.709 MB / 0.788 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7485, allocations: 1.375 kB / 0.7881 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004843/0.7534, allocations: 1.286 MB / 0.7893 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.7534, allocations: 5.5 kB / 0.7893 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.7534, allocations: 8.062 kB / 0.7893 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/0.7541, allocations: 153 kB / 0.7895 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.7548, allocations: 161 kB / 0.7896 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007553/0.7555, allocations: 0.7169 MB / 0.7903 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.7569, allocations: 123.8 kB / 0.7904 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.757, allocations: 34.89 kB / 0.7905 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001094/0.7581, allocations: 0.5513 MB / 0.791 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006967/0.7588, allocations: 488.4 kB / 0.7915 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001217/0.76, allocations: 0.7047 MB / 0.7922 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/0.76, allocations: 0 / 0.7922 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004619/0.7647, allocations: 1.271 MB / 0.7934 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7647, allocations: 5.969 kB / 0.7934 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7647, allocations: 2.562 kB / 0.7934 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.7653, allocations: 156.2 kB / 0.7936 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.7659, allocations: 158.5 kB / 0.7937 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007126/0.7666, allocations: 0.7214 MB / 0.7944 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.768, allocations: 95.02 kB / 0.7945 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.7681, allocations: 34.16 kB / 0.7945 GB, free: 12.35 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.0002711/0.7684, allocations: 225 kB / 0.7948 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.7687, allocations: 140.9 kB / 0.7949 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/0.7732, allocations: 1.28 MB / 0.7961 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.7733, allocations: 8.469 kB / 0.7961 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7733, allocations: 0 / 0.7961 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003918/0.7772, allocations: 1.115 MB / 0.7972 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00683/0.7841, allocations: 2.624 MB / 0.7998 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7841, allocations: 13.53 kB / 0.7998 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.7846, allocations: 114.8 kB / 0.7999 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00058/0.7852, allocations: 150.1 kB / 0.8001 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.7853, allocations: 16.56 kB / 0.8001 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006559/0.7859, allocations: 0.7156 MB / 0.8008 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7859, allocations: 5.906 kB / 0.8008 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/0.7911, allocations: 1.708 MB / 0.8025 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008525/0.792, allocations: 303.9 kB / 0.8027 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.7922, allocations: 22.33 kB / 0.8028 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/0.7931, allocations: 49.75 kB / 0.8028 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7932, allocations: 57.28 kB / 0.8029 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.7933, allocations: 34.61 kB / 0.8029 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001142/0.7944, allocations: 0.8799 MB / 0.8038 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7944, allocations: 0 / 0.8038 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001945/0.7964, allocations: 0.7058 MB / 0.8044 GB, free: 6.25 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.0009606/0.7973, allocations: 465.6 kB / 0.8049 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002493/0.7998, allocations: 1.134 MB / 0.806 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.7999, allocations: 0 / 0.806 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.8007, allocations: 387.5 kB / 0.8064 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.003624/0.8043, allocations: 0.8056 MB / 0.8072 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.8077, allocations: 2.3 MB / 0.8094 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.8082, allocations: 1.164 MB / 0.8105 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.8085, allocations: 111.4 kB / 0.8106 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.8085, allocations: 4 kB / 0.8106 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of Templates: time 0.04115/0.8497, allocations: 31.23 MB / 0.8412 GB, free: 1.672 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)